Fri Dec 03 20:22:56 GMT 1999
(gilbertt) Removed the int x, and int y properties for Epplet_create_window, as they were pretty pointless, and I hate it when windows decide where they should go ;) SVN revision: 1487
This commit is contained in:
parent
aad5f10990
commit
34f7e90373
|
@ -1240,3 +1240,12 @@ I also tidied up some other stuff, and killed another global :)
|
|||
See E-ScreenSave in cvs for an example, press the "lock" button to see it in
|
||||
action :)
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Fri Dec 03 20:22:56 GMT 1999
|
||||
(gilbertt)
|
||||
|
||||
Removed the int x, and int y properties for Epplet_create_window, as they
|
||||
were pretty pointless, and I hate it when windows decide where they should
|
||||
go ;)
|
||||
|
||||
|
|
|
@ -354,7 +354,7 @@ Epplet_Init(char *name,
|
|||
}
|
||||
|
||||
Epplet_window
|
||||
Epplet_create_window(int w, int h, int x, int y, char *title, char vertical)
|
||||
Epplet_create_window(int w, int h, char *title, char vertical)
|
||||
{
|
||||
XSetWindowAttributes attr;
|
||||
Atom a;
|
||||
|
@ -378,7 +378,7 @@ Epplet_create_window(int w, int h, int x, int y, char *title, char vertical)
|
|||
ExposureMask | FocusChangeMask | PropertyChangeMask |
|
||||
VisibilityChangeMask;
|
||||
|
||||
ret->win = XCreateWindow(disp, DefaultRootWindow(disp), x, y, w, h, 0,
|
||||
ret->win = XCreateWindow(disp, DefaultRootWindow(disp), 0, 0, w, h, 0,
|
||||
id->x.depth, InputOutput, Imlib_get_visual(id),
|
||||
CWOverrideRedirect | CWSaveUnder | CWBackingStore |
|
||||
CWColormap | CWBackPixel | CWBorderPixel |
|
||||
|
|
|
@ -347,8 +347,7 @@ void Epplet_change_label(Epplet_gadget gadget, char *label);
|
|||
|
||||
/* PLEASE DO NOT USE THESE FUNCTIONS YET, THEY ARE NOT STABLE */
|
||||
|
||||
Epplet_window Epplet_create_window(int w,int h,int x,int y,char *title,
|
||||
char vertical);
|
||||
Epplet_window Epplet_create_window(int w,int h,char *title, char vertical);
|
||||
void Epplet_window_show(Epplet_window win);
|
||||
void Epplet_window_hide(Epplet_window win);
|
||||
void Epplet_window_destroy(Epplet_window win);
|
||||
|
|
|
@ -338,7 +338,7 @@ cb_shoot (void *data)
|
|||
Epplet_window mywin, mywin2, mywin3;
|
||||
Epplet_gadget sld, sld2, sld3, lbl, btn;
|
||||
mywin =
|
||||
Epplet_create_window (400, 300, 100, 100,
|
||||
Epplet_create_window (400, 300,
|
||||
"See! I told you this stuff was easy ;)",1);
|
||||
Epplet_window_show (mywin);
|
||||
Epplet_gadget_show (lbl =
|
||||
|
@ -362,7 +362,7 @@ cb_shoot (void *data)
|
|||
Epplet_window_pop_context ();
|
||||
|
||||
mywin2 =
|
||||
Epplet_create_window (400, 300, 100, 100,
|
||||
Epplet_create_window (400, 300,
|
||||
"See! I told you this stuff was easy ;)",0);
|
||||
Epplet_window_show (mywin2);
|
||||
Epplet_gadget_show (lbl =
|
||||
|
@ -384,7 +384,7 @@ cb_shoot (void *data)
|
|||
mywin2));
|
||||
|
||||
mywin3 =
|
||||
Epplet_create_window (400, 300, 100, 100,
|
||||
Epplet_create_window (400, 300,
|
||||
"See! I told you this stuff was easy ;)",0);
|
||||
Epplet_window_show (mywin3);
|
||||
Epplet_gadget_show (lbl =
|
||||
|
|
Loading…
Reference in New Issue