diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-26 16:38:41 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-26 16:42:21 +0300 |
commit | 65ad73b0da8a0df0ac7ae6dd17cbb38be1f2afb2 (patch) | |
tree | 14310021ed18c306f3854e42f16992da965652d7 /include | |
parent | 555168bd6be37cb811276fb235bcdfc01a2c731e (diff) |
Minor cleanup and comment (un-)translation
Drop some ASCII graphics. Fix columnar alignment to match surrounding
code. Bin comments that translate field names that are in understandable
English (like maSize) to German. Translate one (actually informative) German
comment to English.
Change-Id: I1e167e3d2f9da4b453140b47c0a8629246e1d932
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/cursor.hxx | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/include/vcl/cursor.hxx b/include/vcl/cursor.hxx index 95da54dafc3f..fb82f0599bbb 100644 --- a/include/vcl/cursor.hxx +++ b/include/vcl/cursor.hxx @@ -25,36 +25,28 @@ #include <tools/solar.h> #include <vcl/dllapi.h> -class AutoTimer; struct ImplCursorData; class Window; -// ----------------- -// - Cursor-Styles - -// ----------------- - +// Cursor styles #define CURSOR_SHADOW ((sal_uInt16)0x0001) #define CURSOR_DIRECTION_NONE ((unsigned char)0x00) #define CURSOR_DIRECTION_LTR ((unsigned char)0x01) #define CURSOR_DIRECTION_RTL ((unsigned char)0x02) -// ---------- -// - Cursor - -// ---------- - class VCL_DLLPUBLIC Cursor { private: - ImplCursorData* mpData; // Interne Daten - Window* mpWindow; // Window (only for shadow cursor) - long mnSlant; // Schraegstellung - long mnOffsetY; // Offset fuer Rotation - Size maSize; // Groesse - Point maPos; // Position - short mnOrientation; // Rotation - sal_uInt16 mnStyle; // Style - bool mbVisible; // Ist Cursor sichtbar - unsigned char mnDirection; // indicates direction + ImplCursorData* mpData; + Window* mpWindow; // only for shadow cursor + long mnSlant; + long mnOffsetY; // Offset for rotation + Size maSize; + Point maPos; + short mnOrientation; + sal_uInt16 mnStyle; + bool mbVisible; + unsigned char mnDirection; public: SAL_DLLPRIVATE void ImplDraw(); @@ -72,7 +64,7 @@ public: ~Cursor(); void SetStyle( sal_uInt16 nStyle ); - sal_uInt16 GetStyle() const { return mnStyle; } + sal_uInt16 GetStyle() const { return mnStyle; } void Show(); void Hide(); |