1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-17 06:35:47 +01:00

added box widget

This commit is contained in:
kojima
2000-11-09 05:01:58 +00:00
parent 366bf50d3c
commit 19160e8dfd
3 changed files with 251 additions and 4 deletions

View File

@@ -284,7 +284,8 @@ enum {
WC_ProgressIndicator = 15,
WC_MenuView = 16,
WC_Ruler = 17,
WC_Text = 18
WC_Text = 18,
WC_Box = 19
};
/* All widgets must start with the following structure
@@ -330,6 +331,7 @@ typedef struct W_SplitView WMSplitView;
typedef struct W_TabView WMTabView;
typedef struct W_Ruler WMRuler;
typedef struct W_Text WMText;
typedef struct W_Box WMBox;
/* not widgets */
@@ -1634,6 +1636,18 @@ WMView *WMGetTabViewItemView(WMTabViewItem *item);
void WMDestroyTabViewItem(WMTabViewItem *item);
/* ....................................................................... */
WMBox *WMCreateBox(WMWidget *parent);
void WMSetBoxBorderWidth(WMBox *box, unsigned width);
void WMAddBoxSubview(WMBox *bPtr, WMView *view, Bool expand, Bool fill,
int minSize, int maxSize, int space);
void WMSetBoxHorizontal(WMBox *box, Bool flag);
/* ....................................................................... */
int WMRunAlertPanel(WMScreen *app, WMWindow *owner, char *title, char *msg,