mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 22:34:18 +01:00
changed panel to use boxes
This commit is contained in:
@@ -363,6 +363,7 @@ typedef struct WMListItem {
|
||||
/* struct for message panel */
|
||||
typedef struct WMAlertPanel {
|
||||
WMWindow *win; /* window */
|
||||
WMBox *vbox;
|
||||
WMButton *defBtn; /* default button */
|
||||
WMButton *altBtn; /* alternative button */
|
||||
WMButton *othBtn; /* other button */
|
||||
@@ -580,6 +581,9 @@ WMScreen *WMCreateSimpleApplicationScreen(Display *display);
|
||||
|
||||
void WMScreenMainLoop(WMScreen *scr);
|
||||
|
||||
void WMBreakModalLoop(WMScreen *scr);
|
||||
|
||||
void WMRunModalLoop(WMScreen *scr, WMView *view);
|
||||
|
||||
RContext *WMScreenRContext(WMScreen *scr);
|
||||
|
||||
@@ -1672,6 +1676,8 @@ void WMAddBoxSubviewAtEnd(WMBox *bPtr, WMView *view, Bool expand, Bool fill,
|
||||
|
||||
void WMSetBoxHorizontal(WMBox *box, Bool flag);
|
||||
|
||||
void WMSetBoxExpandsToParent(WMBox *box);
|
||||
|
||||
/* ....................................................................... */
|
||||
|
||||
int WMRunAlertPanel(WMScreen *app, WMWindow *owner, char *title, char *msg,
|
||||
|
||||
Reference in New Issue
Block a user