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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user