mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
ae14b92cc6
--HG-- rename : layout/inspector/src/inCSSValueSearch.cpp => layout/inspector/inCSSValueSearch.cpp rename : layout/inspector/src/inCSSValueSearch.h => layout/inspector/inCSSValueSearch.h rename : layout/inspector/src/inDOMUtils.cpp => layout/inspector/inDOMUtils.cpp rename : layout/inspector/src/inDOMUtils.h => layout/inspector/inDOMUtils.h rename : layout/inspector/src/inDOMView.cpp => layout/inspector/inDOMView.cpp rename : layout/inspector/src/inDOMView.h => layout/inspector/inDOMView.h rename : layout/inspector/src/inDeepTreeWalker.cpp => layout/inspector/inDeepTreeWalker.cpp rename : layout/inspector/src/inDeepTreeWalker.h => layout/inspector/inDeepTreeWalker.h rename : layout/inspector/src/inFlasher.cpp => layout/inspector/inFlasher.cpp rename : layout/inspector/src/inFlasher.h => layout/inspector/inFlasher.h rename : layout/inspector/public/inICSSValueSearch.idl => layout/inspector/inICSSValueSearch.idl rename : layout/inspector/public/inIDOMUtils.idl => layout/inspector/inIDOMUtils.idl rename : layout/inspector/public/inIDOMView.idl => layout/inspector/inIDOMView.idl rename : layout/inspector/public/inIDeepTreeWalker.idl => layout/inspector/inIDeepTreeWalker.idl rename : layout/inspector/public/inIFlasher.idl => layout/inspector/inIFlasher.idl rename : layout/inspector/public/inISearchObserver.idl => layout/inspector/inISearchObserver.idl rename : layout/inspector/public/inISearchProcess.idl => layout/inspector/inISearchProcess.idl rename : layout/inspector/src/inLayoutUtils.cpp => layout/inspector/inLayoutUtils.cpp rename : layout/inspector/src/inLayoutUtils.h => layout/inspector/inLayoutUtils.h rename : layout/inspector/src/inSearchLoop.cpp => layout/inspector/inSearchLoop.cpp rename : layout/inspector/src/inSearchLoop.h => layout/inspector/inSearchLoop.h rename : layout/inspector/src/moz.build => layout/inspector/moz.build rename : layout/inspector/src/nsFontFace.cpp => layout/inspector/nsFontFace.cpp rename : layout/inspector/src/nsFontFace.h => layout/inspector/nsFontFace.h rename : layout/inspector/src/nsFontFaceList.cpp => layout/inspector/nsFontFaceList.cpp rename : layout/inspector/src/nsFontFaceList.h => layout/inspector/nsFontFaceList.h rename : layout/inspector/public/nsIDOMFontFace.idl => layout/inspector/nsIDOMFontFace.idl rename : layout/inspector/public/nsIDOMFontFaceList.idl => layout/inspector/nsIDOMFontFaceList.idl
48 lines
1.1 KiB
C++
48 lines
1.1 KiB
C++
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef __inFlasher_h__
|
|
#define __inFlasher_h__
|
|
|
|
#include "inIFlasher.h"
|
|
#include "nsCoord.h"
|
|
#include "nsColor.h"
|
|
|
|
class nsRenderingContext;
|
|
|
|
#define BOUND_INNER 0
|
|
#define BOUND_OUTER 1
|
|
|
|
#define DIR_VERTICAL 0
|
|
#define DIR_HORIZONTAL 1
|
|
|
|
class inFlasher : public inIFlasher
|
|
{
|
|
public:
|
|
NS_DECL_ISUPPORTS
|
|
NS_DECL_INIFLASHER
|
|
|
|
inFlasher();
|
|
virtual ~inFlasher();
|
|
|
|
protected:
|
|
void DrawOutline(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight,
|
|
nsRenderingContext* aRenderContext,
|
|
bool aDrawBegin, bool aDrawEnd);
|
|
void DrawLine(nscoord aX, nscoord aY, nscoord aLength,
|
|
bool aDir, bool aBounds,
|
|
nsRenderingContext* aRenderContext);
|
|
|
|
nscolor mColor;
|
|
|
|
uint16_t mThickness;
|
|
bool mInvert;
|
|
};
|
|
|
|
// {9286E71A-621A-4b91-851E-9984C1A2E81A}
|
|
#define IN_FLASHER_CID \
|
|
{ 0x9286e71a, 0x621a, 0x4b91, { 0x85, 0x1e, 0x99, 0x84, 0xc1, 0xa2, 0xe8, 0x1a } }
|
|
|
|
#endif // __inFlasher_h__
|