mirror of
https://github.com/reactos/packmgr.git
synced 2024-11-26 21:30:29 +00:00
fixed warnings
svn path=/trunk/rosapps/packmgr/; revision=35
This commit is contained in:
parent
f8203d9984
commit
45c054bdcb
21
gui/main.c
21
gui/main.c
@ -12,6 +12,27 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
// This is the struct where the toolbar is defined
|
||||
const TBBUTTON Buttons [] =
|
||||
{
|
||||
{0, 0, TBSTATE_ENABLED, TBSTYLE_SEP},
|
||||
|
||||
{0, 1, TBSTATE_INDETERMINATE, TBSTYLE_BUTTON}, // No Action
|
||||
{1, 2, TBSTATE_INDETERMINATE, TBSTYLE_BUTTON}, // Install
|
||||
{2, 3, TBSTATE_INDETERMINATE, TBSTYLE_BUTTON}, // Install from source
|
||||
{3, 4, TBSTATE_INDETERMINATE, TBSTYLE_BUTTON}, // Update
|
||||
{4, 5, TBSTATE_INDETERMINATE, TBSTYLE_BUTTON}, // Unistall
|
||||
|
||||
{0, 0, TBSTATE_ENABLED, TBSTYLE_SEP},
|
||||
{5, 6, TBSTATE_ENABLED, TBSTYLE_BUTTON}, // DoIt (tm)
|
||||
{0, 0, TBSTATE_ENABLED, TBSTYLE_SEP},
|
||||
|
||||
{6, 7, TBSTATE_ENABLED, TBSTYLE_BUTTON}, // Help
|
||||
{7, 8, TBSTATE_ENABLED, TBSTYLE_BUTTON}, // Options
|
||||
|
||||
{0, 0, TBSTATE_ENABLED, TBSTYLE_SEP},
|
||||
};
|
||||
|
||||
|
||||
// Application's Entry Point
|
||||
int WINAPI WinMain (HINSTANCE hinst, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow)
|
||||
|
19
gui/main.h
19
gui/main.h
@ -41,22 +41,5 @@ int Ask (const WCHAR* message);
|
||||
#define TBSTYLE_FLAT 2048
|
||||
|
||||
// This is the struct where the toolbar is defined
|
||||
TBBUTTON Buttons [] =
|
||||
{
|
||||
{0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0L, 0},
|
||||
|
||||
{0, 1, TBSTATE_INDETERMINATE, TBSTYLE_BUTTON, 0L, 0}, // No Action
|
||||
{1, 2, TBSTATE_INDETERMINATE, TBSTYLE_BUTTON, 0L, 0}, // Install
|
||||
{2, 3, TBSTATE_INDETERMINATE, TBSTYLE_BUTTON, 0L, 0}, // Install from source
|
||||
{3, 4, TBSTATE_INDETERMINATE, TBSTYLE_BUTTON, 0L, 0}, // Update
|
||||
{4, 5, TBSTATE_INDETERMINATE, TBSTYLE_BUTTON, 0L, 0}, // Unistall
|
||||
extern const TBBUTTON Buttons [];
|
||||
|
||||
{0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0L, 0},
|
||||
{5, 6, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0L, 0}, // DoIt (tm)
|
||||
{0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0L, 0},
|
||||
|
||||
{6, 7, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0L, 0}, // Help
|
||||
{7, 8, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0L, 0}, // Options
|
||||
|
||||
{0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0L, 0},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user