Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | #ifndef __inFlasher_h__ |
michael@0 | 6 | #define __inFlasher_h__ |
michael@0 | 7 | |
michael@0 | 8 | #include "inIFlasher.h" |
michael@0 | 9 | #include "nsCoord.h" |
michael@0 | 10 | #include "nsColor.h" |
michael@0 | 11 | |
michael@0 | 12 | class nsRenderingContext; |
michael@0 | 13 | |
michael@0 | 14 | #define BOUND_INNER 0 |
michael@0 | 15 | #define BOUND_OUTER 1 |
michael@0 | 16 | |
michael@0 | 17 | #define DIR_VERTICAL 0 |
michael@0 | 18 | #define DIR_HORIZONTAL 1 |
michael@0 | 19 | |
michael@0 | 20 | class inFlasher : public inIFlasher |
michael@0 | 21 | { |
michael@0 | 22 | public: |
michael@0 | 23 | NS_DECL_ISUPPORTS |
michael@0 | 24 | NS_DECL_INIFLASHER |
michael@0 | 25 | |
michael@0 | 26 | inFlasher(); |
michael@0 | 27 | virtual ~inFlasher(); |
michael@0 | 28 | |
michael@0 | 29 | protected: |
michael@0 | 30 | void DrawOutline(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight, |
michael@0 | 31 | nsRenderingContext* aRenderContext, |
michael@0 | 32 | bool aDrawBegin, bool aDrawEnd); |
michael@0 | 33 | void DrawLine(nscoord aX, nscoord aY, nscoord aLength, |
michael@0 | 34 | bool aDir, bool aBounds, |
michael@0 | 35 | nsRenderingContext* aRenderContext); |
michael@0 | 36 | |
michael@0 | 37 | nscolor mColor; |
michael@0 | 38 | |
michael@0 | 39 | uint16_t mThickness; |
michael@0 | 40 | bool mInvert; |
michael@0 | 41 | }; |
michael@0 | 42 | |
michael@0 | 43 | // {9286E71A-621A-4b91-851E-9984C1A2E81A} |
michael@0 | 44 | #define IN_FLASHER_CID \ |
michael@0 | 45 | { 0x9286e71a, 0x621a, 0x4b91, { 0x85, 0x1e, 0x99, 0x84, 0xc1, 0xa2, 0xe8, 0x1a } } |
michael@0 | 46 | |
michael@0 | 47 | #endif // __inFlasher_h__ |