Commit d7e56cff authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Gather all DrawText flags together, convert them to hex for

readability.
parent ba0ee349
...@@ -472,13 +472,6 @@ typedef struct tagDRAWTEXTPARAMS ...@@ -472,13 +472,6 @@ typedef struct tagDRAWTEXTPARAMS
#define WM_USER 0x0400 #define WM_USER 0x0400
#define DT_EDITCONTROL 0x00002000
#define DT_PATH_ELLIPSIS 0x00004000
#define DT_END_ELLIPSIS 0x00008000
#define DT_MODIFYSTRING 0x00010000
#define DT_RTLREADING 0x00020000
#define DT_WORD_ELLIPSIS 0x00040000
typedef struct typedef struct
{ {
LPARAM lParam; LPARAM lParam;
...@@ -3104,21 +3097,31 @@ typedef struct { ...@@ -3104,21 +3097,31 @@ typedef struct {
#define GMDI_USEDISABLED 0x0001L #define GMDI_USEDISABLED 0x0001L
#define GMDI_GOINTOPOPUPS 0x0002L #define GMDI_GOINTOPOPUPS 0x0002L
#define DT_TOP 0 /* DrawText() flags */
#define DT_LEFT 0 #define DT_TOP 0x00000000
#define DT_CENTER 1 #define DT_LEFT 0x00000000
#define DT_RIGHT 2 #define DT_CENTER 0x00000001
#define DT_VCENTER 4 #define DT_RIGHT 0x00000002
#define DT_BOTTOM 8 #define DT_VCENTER 0x00000004
#define DT_WORDBREAK 16 #define DT_BOTTOM 0x00000008
#define DT_SINGLELINE 32 #define DT_WORDBREAK 0x00000010
#define DT_EXPANDTABS 64 #define DT_SINGLELINE 0x00000020
#define DT_TABSTOP 128 #define DT_EXPANDTABS 0x00000040
#define DT_NOCLIP 256 #define DT_TABSTOP 0x00000080
#define DT_EXTERNALLEADING 512 #define DT_NOCLIP 0x00000100
#define DT_CALCRECT 1024 #define DT_EXTERNALLEADING 0x00000200
#define DT_NOPREFIX 2048 #define DT_CALCRECT 0x00000400
#define DT_INTERNAL 4096 #define DT_NOPREFIX 0x00000800
#define DT_INTERNAL 0x00001000
#define DT_EDITCONTROL 0x00002000
#define DT_PATH_ELLIPSIS 0x00004000
#define DT_END_ELLIPSIS 0x00008000
#define DT_MODIFYSTRING 0x00010000
#define DT_RTLREADING 0x00020000
#define DT_WORD_ELLIPSIS 0x00040000
#define DT_NOFULLWIDTHCHARBREAK 0x00080000
#define DT_HIDEPREFIX 0x00100000
#define DT_PREFIXONLY 0x00200000
/* DrawCaption()/DrawCaptionTemp() flags */ /* DrawCaption()/DrawCaptionTemp() flags */
#define DC_ACTIVE 0x0001 #define DC_ACTIVE 0x0001
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment