| 21 | #endif |
| 22 | |
| 23 | CallTip::CallTip() { |
| 24 | wCallTip = 0; |
| 25 | inCallTipMode = false; |
| 26 | posStartCallTip = 0; |
| 27 | rectUp = PRectangle(0,0,0,0); |
| 28 | rectDown = PRectangle(0,0,0,0); |
| 29 | lineHeight = 1; |
| 30 | offsetMain = 0; |
| 31 | startHighlight = 0; |
| 32 | endHighlight = 0; |
| 33 | tabSize = 0; |
| 34 | above = false; |
| 35 | useStyleCallTip = false; // for backwards compatibility |
| 36 | |
| 37 | insetX = 5; |
| 38 | widthArrow = 14; |
| 39 | borderHeight = 2; // Extra line for border and an empty line at top and bottom. |
| 40 | verticalOffset = 1; |
| 41 | |
| 42 | #ifdef __APPLE__ |
| 43 | // proper apple colours for the default |
| 44 | colourBG = ColourDesired(0xff, 0xff, 0xc6); |
| 45 | colourUnSel = ColourDesired(0, 0, 0); |
| 46 | #else |
| 47 | colourBG = ColourDesired(0xff, 0xff, 0xff); |
| 48 | colourUnSel = ColourDesired(0x80, 0x80, 0x80); |
| 49 | #endif |
| 50 | colourSel = ColourDesired(0, 0, 0x80); |
| 51 | colourShade = ColourDesired(0, 0, 0); |
| 52 | colourLight = ColourDesired(0xc0, 0xc0, 0xc0); |
| 53 | codePage = 0; |
| 54 | clickPlace = 0; |
| 55 | } |
| 56 | |
| 57 | CallTip::~CallTip() { |
| 58 | font.Release(); |
nothing calls this directly
no test coverage detected