Sat Dec 04 22:59:21 GMT 1999
(gilbertt) Oops. Make that: /* A cut down version for text-only buttons */ Epplet_gadget Epplet_create_text_button(char *label, int x, int y, int w, int h, void (*func) (void *data), void *data); /* A cut down version for stdimage-only buttons */ Epplet_gadget Epplet_create_std_button(char *std, int x, int y, void (*func) (void *data), void *data); STD images do not need w or h parameters. =P SVN revision: 1498
This commit is contained in:
parent
59e7b0ab11
commit
d769f660e9
20
ChangeLog
20
ChangeLog
|
@ -1363,3 +1363,23 @@ Epplet_gadget Epplet_create_std_button(char *std, int x, int y,
|
|||
Those window things in the original one should really be buried in the api,
|
||||
and not public, but I won't break anyone's code. There ya go :)
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Sat Dec 04 22:59:21 GMT 1999
|
||||
(gilbertt)
|
||||
|
||||
Oops. Make that:
|
||||
|
||||
/* A cut down version for text-only buttons */
|
||||
Epplet_gadget Epplet_create_text_button(char *label, int x, int y,
|
||||
int w, int h,
|
||||
void (*func) (void *data), void *data);
|
||||
|
||||
/* A cut down version for stdimage-only buttons */
|
||||
Epplet_gadget Epplet_create_std_button(char *std, int x, int y,
|
||||
void (*func) (void *data), void *data);
|
||||
|
||||
STD images do not need w or h parameters.
|
||||
|
||||
=P
|
||||
|
||||
|
|
|
@ -2274,9 +2274,9 @@ Epplet_create_text_button(char *label, int x, int y,
|
|||
/* A cut down version for stdimage-only buttons */
|
||||
Epplet_gadget
|
||||
Epplet_create_std_button(char *std, int x, int y,
|
||||
int w, int h, void (*func) (void *data), void *data)
|
||||
void (*func) (void *data), void *data)
|
||||
{
|
||||
return Epplet_create_button(NULL, NULL, x, y, w, h, std, 0, NULL, func,
|
||||
return Epplet_create_button(NULL, NULL, x, y, 12, 12, std, 0, NULL, func,
|
||||
data);
|
||||
}
|
||||
|
||||
|
|
|
@ -233,7 +233,6 @@ Epplet_gadget Epplet_create_text_button(char *label, int x, int y,
|
|||
void (*func) (void *data), void *data);
|
||||
/* A cut down version for stdimage-only buttons */
|
||||
Epplet_gadget Epplet_create_std_button(char *std, int x, int y,
|
||||
int w, int h,
|
||||
void (*func) (void *data), void *data);
|
||||
|
||||
/* create a textbox at coordinates (x, y), with 'image' as bg, 'contents' as
|
||||
|
|
Loading…
Reference in New Issue