mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 22:28:02 +01:00
wmaker: Added 'const' attribute to most global functions
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
f0c1dc9fc3
commit
9b5db31d95
@@ -106,9 +106,9 @@ typedef struct WMenu {
|
||||
void wMenuPaint(WMenu *menu);
|
||||
void wMenuDestroy(WMenu *menu, int recurse);
|
||||
void wMenuRealize(WMenu *menu);
|
||||
WMenuEntry *wMenuInsertCascade(WMenu *menu, int index, char *text,
|
||||
WMenuEntry *wMenuInsertCascade(WMenu *menu, int index, const char *text,
|
||||
WMenu *cascade);
|
||||
WMenuEntry *wMenuInsertCallback(WMenu *menu, int index, char *text,
|
||||
WMenuEntry *wMenuInsertCallback(WMenu *menu, int index, const char *text,
|
||||
void (*callback)(WMenu *menu, WMenuEntry *entry),
|
||||
void *clientdata);
|
||||
|
||||
@@ -119,8 +119,8 @@ void wMenuEntrySetCascade(WMenu *menu, WMenuEntry *entry, WMenu *cascade);
|
||||
|
||||
void wMenuRemoveItem(WMenu *menu, int index);
|
||||
|
||||
WMenu *wMenuCreate(WScreen *screen, char *title, int main_menu);
|
||||
WMenu *wMenuCreateForApp(WScreen *screen, char *title, int main_menu);
|
||||
WMenu *wMenuCreate(WScreen *screen, const char *title, int main_menu);
|
||||
WMenu *wMenuCreateForApp(WScreen *screen, const char *title, int main_menu);
|
||||
void wMenuMap(WMenu *menu);
|
||||
void wMenuMapAt(WMenu *menu, int x, int y, int keyboard);
|
||||
#define wMenuMapCopyAt(menu, x, y) wMenuMapAt((menu)->brother, (x), (y), False)
|
||||
|
||||
Reference in New Issue
Block a user