mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-15 02:36:40 -04:00
fix many warnings (hope everything will work)
This commit is contained in:
parent
cddb569580
commit
858c4384e8
57 changed files with 911 additions and 807 deletions
24
libs/gui.h
24
libs/gui.h
|
@ -76,9 +76,9 @@ typedef struct objrec
|
|||
void (*call_event)(EVENT_MSG *msg, struct objrec *);
|
||||
void (*call_done)(struct objrec *);
|
||||
void (*on_event)(EVENT_MSG *msg, struct objrec *);
|
||||
void (*on_enter)();
|
||||
void (*on_exit)();
|
||||
void (*on_change)();
|
||||
void (*on_enter)(void);
|
||||
void (*on_exit)(void);
|
||||
void (*on_change)(void);
|
||||
char draw_error; //1 znamena ze objekt zpusobil chybu a nebude vykreslovan
|
||||
struct objrec *next;
|
||||
}OBJREC;
|
||||
|
@ -134,22 +134,22 @@ int32_t desktop_add_window(WINDOW *w);
|
|||
void select_window(int32_t id);
|
||||
WINDOW *find_window(int32_t id);
|
||||
void redraw_object(OBJREC *o);
|
||||
void redraw_window();
|
||||
void redraw_window(void);
|
||||
void define(int id,int x,int y,int xs,int ys,char align,void (*initproc)(OBJREC *),...);
|
||||
CTL3D *border(word light,word shadow, word bsize, word btype);
|
||||
void property(CTL3D *ctl,word *font,FC_TABLE *fcolor,word color);
|
||||
FC_TABLE *flat_color(word color);
|
||||
void aktivate_window(MS_EVENT *ms);
|
||||
void redraw_desktop();
|
||||
void redraw_desktop(void);
|
||||
void close_window(WINDOW *w);
|
||||
void close_current();
|
||||
void close_current(void);
|
||||
void check_window(WINDOW *w);
|
||||
void install_gui(void);
|
||||
void uninstall_gui(void);
|
||||
void on_control_change(void (*proc)());
|
||||
void on_control_enter(void (*proc)());
|
||||
void on_control_exit(void (*proc)());
|
||||
void on_control_event(void (*proc)());
|
||||
void on_control_change(void (*proc)(void));
|
||||
void on_control_enter(void (*proc)(void));
|
||||
void on_control_exit(void (*proc)(void));
|
||||
void on_control_event(void (*proc)(EVENT_MSG *, struct objrec *));
|
||||
void terminate_gui(void);
|
||||
void set_change(void);
|
||||
void set_value(int win_id,int obj_id,void *value);
|
||||
|
@ -158,11 +158,11 @@ void c_set_value(int win_id,int obj_id,int cnst);
|
|||
void c_default(int cnst);
|
||||
int f_get_value(int win_id,int obj_id);
|
||||
void get_value(int win_id,int obj_id,void *buff);
|
||||
void cancel_event();
|
||||
void cancel_event(void);
|
||||
OBJREC *find_object(WINDOW *w,int id);
|
||||
void set_window_modal(void);
|
||||
void set_enable(int win_id,int obj_id,int condition);
|
||||
void run_background(void (*p)());
|
||||
void run_background(void (*p)(void));
|
||||
void disable_bar(int x,int y,int xs,int ys,word color);
|
||||
void movesize_win(WINDOW *w, int newx,int newy, int newxs, int newys);
|
||||
void goto_control(int obj_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue