1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

- Fixed function naming problem in WINGs.

This commit is contained in:
dan
1999-09-17 16:42:36 +00:00
parent ac64e68fcb
commit 4dabd2ec8c
6 changed files with 10 additions and 7 deletions

View File

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

View File

@@ -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);

View File

@@ -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);

View File

@@ -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, "");

View File

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

View File

@@ -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);