1
0
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:
kojima
2001-01-09 16:45:14 +00:00
parent 35c5908565
commit 22eb14c9d5
8 changed files with 117 additions and 55 deletions

View File

@@ -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,