mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +01:00
- Fixed function naming problem in WINGs.
This commit is contained in:
@@ -50,6 +50,9 @@ changes since wmaker 0.60.0:
|
||||
void *clientData);
|
||||
WMDeleteInputHandler(WMHandlerID handlerID);
|
||||
- added progress indicator widget
|
||||
- Changed WMSetWindowUPosition() and WMSetWindowUSize() to
|
||||
WMSetWindowInitialPosition() and WMSetWindowInitialSize() respectively,
|
||||
for better naming conventions.
|
||||
|
||||
|
||||
changes since wmaker 0.53.0:
|
||||
|
||||
@@ -761,9 +761,9 @@ void WMSetWindowMiniwindowImage(WMWindow *win, WMPixmap *pixmap);
|
||||
|
||||
void WMSetWindowCloseAction(WMWindow *win, WMAction *action, void *clientData);
|
||||
|
||||
void WMSetWindowUPosition(WMWindow *win, int x, int y);
|
||||
void WMSetWindowInitialPosition(WMWindow *win, int x, int y);
|
||||
|
||||
void WMSetWindowUSize(WMWindow *win, unsigned width, unsigned height);
|
||||
void WMSetWindowInitialSize(WMWindow *win, unsigned width, unsigned height);
|
||||
|
||||
void WMSetWindowMaxSize(WMWindow *win, unsigned width, unsigned height);
|
||||
|
||||
|
||||
@@ -398,7 +398,7 @@ WMRunModalFilePanelForDirectory(WMFilePanel *panel, WMWindow *owner,
|
||||
break;
|
||||
}
|
||||
|
||||
WMSetWindowUPosition(panel->win,
|
||||
WMSetWindowInitialPosition(panel->win,
|
||||
(scr->rootView->size.width - WMWidgetWidth(panel->win))/2,
|
||||
(scr->rootView->size.height - WMWidgetHeight(panel->win))/2);
|
||||
WMSetLabelText(panel->titleLabel, name);
|
||||
|
||||
@@ -95,7 +95,7 @@ WMCreateAlertPanel(WMScreen *scrPtr, WMWindow *owner,
|
||||
panel->win = WMCreateWindowWithStyle(scrPtr, "alertPanel",
|
||||
WMTitledWindowMask);
|
||||
|
||||
WMSetWindowUPosition(panel->win,
|
||||
WMSetWindowInitialPosition(panel->win,
|
||||
(scrPtr->rootView->size.width - WMWidgetWidth(panel->win))/2,
|
||||
(scrPtr->rootView->size.height - WMWidgetHeight(panel->win))/2);
|
||||
WMSetWindowTitle(panel->win, "");
|
||||
|
||||
@@ -447,7 +447,7 @@ realizeWindow(WMWindow *win)
|
||||
|
||||
|
||||
void
|
||||
WMSetWindowUPosition(WMWindow *win, int x, int y)
|
||||
WMSetWindowInitialPosition(WMWindow *win, int x, int y)
|
||||
{
|
||||
win->flags.upos_set = 1;
|
||||
win->upos.x = x;
|
||||
@@ -459,7 +459,7 @@ WMSetWindowUPosition(WMWindow *win, int x, int y)
|
||||
|
||||
|
||||
void
|
||||
WMSetWindowUSize(WMWindow *win, unsigned width, unsigned height)
|
||||
WMSetWindowInitialSize(WMWindow *win, unsigned width, unsigned height)
|
||||
{
|
||||
win->usize.width = width;
|
||||
win->usize.height = height;
|
||||
|
||||
@@ -778,7 +778,7 @@ ShowTexturePanel(TexturePanel *panel)
|
||||
Display *dpy = WMScreenDisplay(WMWidgetScreen(panel->win));
|
||||
Screen *scr = DefaultScreenOfDisplay(dpy);
|
||||
|
||||
WMSetWindowUPosition(panel->win,
|
||||
WMSetWindowInitialPosition(panel->win,
|
||||
(WidthOfScreen(scr)-WMWidgetWidth(panel->win))/2,
|
||||
(HeightOfScreen(scr)-WMWidgetHeight(panel->win))/2);
|
||||
WMMapWidget(panel->win);
|
||||
|
||||
Reference in New Issue
Block a user