mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
fix win32 build
This commit is contained in:
parent
180de81e58
commit
bbd9384a9e
1 changed files with 12 additions and 10 deletions
|
@ -26,6 +26,8 @@
|
|||
#include "cedebug.h"
|
||||
#include "debhacks.h"
|
||||
|
||||
static void colorButton( DRAWITEMSTRUCT* dis, HBRUSH brush );
|
||||
|
||||
#ifdef MY_COLOR_SEL
|
||||
|
||||
typedef struct ClrEditDlgState {
|
||||
|
@ -43,16 +45,6 @@ typedef struct ClrEditDlgState {
|
|||
XP_Bool cancelled;
|
||||
} ClrEditDlgState;
|
||||
|
||||
static void
|
||||
colorButton( DRAWITEMSTRUCT* dis, HBRUSH brush )
|
||||
{
|
||||
RECT rect = dis->rcItem;
|
||||
|
||||
Rectangle( dis->hDC, rect.left, rect.top, rect.right, rect.bottom );
|
||||
InsetRect( &rect, 1, 1 );
|
||||
FillRect( dis->hDC, &rect, brush );
|
||||
}
|
||||
|
||||
static void
|
||||
initEditAndSlider( HWND hDlg, XP_U16 sliderID, XP_U8 val )
|
||||
{
|
||||
|
@ -264,6 +256,16 @@ myChooseColor( CEAppGlobals* globals, HWND parent, XP_U16 labelID,
|
|||
|
||||
#endif /* MY_COLOR_SEL */
|
||||
|
||||
static void
|
||||
colorButton( DRAWITEMSTRUCT* dis, HBRUSH brush )
|
||||
{
|
||||
RECT rect = dis->rcItem;
|
||||
|
||||
Rectangle( dis->hDC, rect.left, rect.top, rect.right, rect.bottom );
|
||||
InsetRect( &rect, 1, 1 );
|
||||
FillRect( dis->hDC, &rect, brush );
|
||||
}
|
||||
|
||||
typedef struct ColorsDlgState {
|
||||
HWND hDlg;
|
||||
CEAppGlobals* globals;
|
||||
|
|
Loading…
Reference in a new issue