diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-27 01:35:21 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-27 01:38:43 +0200 |
commit | b54480ea7882df03b5d69b43ff080db72da14835 (patch) | |
tree | 970beea9f2dfb33b404687f18ccf0edc2276b94b /vcl/inc | |
parent | 69a9cffb9e6285a8735e4b35cdea9db4b118063c (diff) |
No need for two sets of names for the same exttextinput flag bits
Change-Id: Ic5756d75bc86795a7add95694aef6fc9d1f6b9fa
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/salwtype.hxx | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/vcl/inc/salwtype.hxx b/vcl/inc/salwtype.hxx index 69e63412eca4..c9a7e19452e4 100644 --- a/vcl/inc/salwtype.hxx +++ b/vcl/inc/salwtype.hxx @@ -31,24 +31,6 @@ class Window; class FontSelectPattern; -// --------------- -// - SalExtInput - -// --------------- - -// Have to match DEFINEs in cmdevt.hxx, as these will not be converted - -#define SAL_EXTTEXTINPUT_ATTR_GRAYWAVELINE ((sal_uInt16)0x0100) -#define SAL_EXTTEXTINPUT_ATTR_UNDERLINE ((sal_uInt16)0x0200) -#define SAL_EXTTEXTINPUT_ATTR_BOLDUNDERLINE ((sal_uInt16)0x0400) -#define SAL_EXTTEXTINPUT_ATTR_DOTTEDUNDERLINE ((sal_uInt16)0x0800) -#define SAL_EXTTEXTINPUT_ATTR_DASHDOTUNDERLINE ((sal_uInt16)0x1000) -#define SAL_EXTTEXTINPUT_ATTR_HIGHLIGHT ((sal_uInt16)0x2000) -#define SAL_EXTTEXTINPUT_ATTR_REDTEXT ((sal_uInt16)0x4000) -#define SAL_EXTTEXTINPUT_ATTR_HALFTONETEXT ((sal_uInt16)0x8000) - -#define SAL_EXTTEXTINPUT_CURSOR_INVISIBLE ((sal_uInt16)0x0001) -#define SAL_EXTTEXTINPUT_CURSOR_OVERWRITE ((sal_uInt16)0x0002) - // ------------ // - SalEvent - // ------------ @@ -195,7 +177,7 @@ struct SalExtTextInputEvent const sal_uInt16* mpTextAttr; // Text-Attribute sal_uLong mnCursorPos; // Cursor-Position sal_uLong mnDeltaStart; // Start-Position of last change - sal_uInt8 mnCursorFlags; // SAL_EXTTEXTINPUT_CURSOR_xxx + sal_uInt8 mnCursorFlags; // EXTTEXTINPUT_CURSOR_xxx sal_Bool mbOnlyCursor; // sal_True: Only Cursor-Position has been changed }; |