mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-10 15:54:17 +01:00
adapted for SetViewExpands...
This commit is contained in:
@@ -1723,7 +1723,7 @@ createPanel(Panel *p)
|
||||
panel->hand = WMCreatePixmapFromXPMData(scr, hand_xpm);
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
/* preview box */
|
||||
panel->prevL = WMCreateLabel(panel->box);
|
||||
|
||||
@@ -193,7 +193,7 @@ createPanel(Panel *p)
|
||||
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
/*********** Icon Slide Speed **********/
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ createPanel(Panel *p)
|
||||
int i;
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
for (i=0; i<7; i++) {
|
||||
panel->swi[i] = WMCreateSwitchButton(panel->box);
|
||||
|
||||
@@ -239,7 +239,7 @@ createPanel(Panel *p)
|
||||
WMFont *font;
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
/***************** Input Focus Mode *****************/
|
||||
panel->kfocF = WMCreateFrame(panel->box);
|
||||
|
||||
@@ -358,7 +358,7 @@ createPanel(Panel *p)
|
||||
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
|
||||
panel->prevL = WMCreateLabel(panel->box);
|
||||
|
||||
@@ -173,7 +173,7 @@ createPanel(Panel *p)
|
||||
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
/***************** Positioning of Icons *****************/
|
||||
panel->posF = WMCreateFrame(panel->box);
|
||||
|
||||
@@ -64,7 +64,7 @@ createPanel(Panel *p)
|
||||
font = WMSystemFontOfSize(scr, 10);
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
/**************** Initial Key Repeat ***************/
|
||||
panel->delaF = WMCreateFrame(panel->box);
|
||||
|
||||
@@ -350,7 +350,7 @@ createPanel(Panel *p)
|
||||
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
boldFont = WMBoldSystemFontOfSize(scr, 12);
|
||||
|
||||
|
||||
@@ -468,7 +468,7 @@ createPanel(_Panel *p)
|
||||
}
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
panel->typeP = WMCreatePopUpButton(panel->box);
|
||||
WMResizeWidget(panel->typeP, 150, 20);
|
||||
|
||||
@@ -103,7 +103,7 @@ createPanel(Panel *p)
|
||||
char *path;
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
/***************** Menu Scroll Speed ****************/
|
||||
panel->scrF = WMCreateFrame(panel->box);
|
||||
|
||||
@@ -453,7 +453,7 @@ createPanel(Panel *p)
|
||||
color.blue = 0xaa;
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
/**************** Mouse Speed ****************/
|
||||
panel->speedF = WMCreateFrame(panel->box);
|
||||
|
||||
@@ -250,7 +250,7 @@ createPanel(Panel *p)
|
||||
panel->font = WMSystemFontOfSize(scr, 12);
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
|
||||
panel->tabv = WMCreateTabView(panel->box);
|
||||
|
||||
@@ -209,7 +209,7 @@ createPanel(Panel *p)
|
||||
int i;
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
|
||||
/***************** Size Display ****************/
|
||||
|
||||
@@ -163,7 +163,7 @@ createPanel(Panel *p)
|
||||
_Panel *panel = (_Panel*)p;
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
panel->saveB = WMCreateCommandButton(panel->box);
|
||||
WMResizeWidget(panel->saveB, 154, 24);
|
||||
|
||||
@@ -610,8 +610,8 @@ AddSection(Panel *panel, char *iconFile)
|
||||
WMSetButtonAction(bPtr, changeSection, panel);
|
||||
WMHangData(bPtr, panel);
|
||||
|
||||
WMSetBalloonTextForView(((PanelRec*)panel)->description,
|
||||
WMWidgetView(bPtr));
|
||||
WMSetBalloonTextForView(((PanelRec*)panel)->description,
|
||||
WMWidgetView(bPtr));
|
||||
|
||||
{
|
||||
char *t1, *t2;
|
||||
|
||||
@@ -227,7 +227,7 @@ createPanel(Panel *p)
|
||||
WMBox *hbox;
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 2, 2);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 2, 2);
|
||||
WMSetBoxHorizontal(panel->box, False);
|
||||
WMSetBoxBorderWidth(panel->box, 8);
|
||||
|
||||
|
||||
@@ -167,7 +167,7 @@ createPanel(Panel *p)
|
||||
}
|
||||
|
||||
panel->box = WMCreateBox(panel->parent);
|
||||
WMSetBoxExpandsToParent(panel->box, 2, 2, 0, 0);
|
||||
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 0, 0);
|
||||
|
||||
/***************** Workspace Navigation *****************/
|
||||
panel->navF = WMCreateFrame(panel->box);
|
||||
|
||||
Reference in New Issue
Block a user