summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alf/alf.h6
-rw-r--r--alf/alfpanel.cpp6
-rw-r--r--widgetfactory.cpp20
3 files changed, 16 insertions, 16 deletions
diff --git a/alf/alf.h b/alf/alf.h
index e8a8864..321a56c 100644
--- a/alf/alf.h
+++ b/alf/alf.h
@@ -503,7 +503,7 @@ HWND
ALF_AddPanel(HWND parent, WORD id, int x, int y);
void
-ALF_PanelSetVTable(HWND panel, const ALFPanelVTable *vtbl, void *closure);
+ALF_Panel_SetVTable(HWND panel, const ALFPanelVTable *vtbl, void *closure);
LRESULT
ALF_Panel_DefWindowProc(HWND panel, UINT msg, WPARAM wparam, LPARAM lparam);
@@ -512,10 +512,10 @@ void
ALF_Panel_DefPaint(HWND panel, HDC hDC, RECT *rcPaint);
DWORD
-ALF_PanelEdge(HWND panel);
+ALF_Panel_Edge(HWND panel);
void
-ALF_PanelSetEdge(HWND panel, DWORD edge);
+ALF_Panel_SetEdge(HWND panel, DWORD edge);
// tab control
HWND
diff --git a/alf/alfpanel.cpp b/alf/alfpanel.cpp
index 085b1c7..7bb3f61 100644
--- a/alf/alfpanel.cpp
+++ b/alf/alfpanel.cpp
@@ -69,7 +69,7 @@ ALF_Panel_InternalSetEdge(ALFPanelPriv *priv, HWND hwnd, DWORD edge)
}
void
-ALF_PanelSetVTable(HWND panel, const ALFPanelVTable *vtbl, void *closure)
+ALF_Panel_SetVTable(HWND panel, const ALFPanelVTable *vtbl, void *closure)
{
ALFPanelSetVtblParams p = { vtbl, closure };
SendMessage(panel, ALF_WM_PANEL_SETVTABLE, 0, (LPARAM)&p);
@@ -206,13 +206,13 @@ ALF_Panel_DefWindowProc(HWND window, UINT msg, WPARAM wparam, LPARAM lparam)
}
DWORD
-ALF_PanelEdge(HWND panel)
+ALF_Panel_Edge(HWND panel)
{
return (DWORD)SendMessage(panel, ALF_WM_PANEL_GETEDGE, 0, 0);
}
void
-ALF_PanelSetEdge(HWND panel, DWORD edge)
+ALF_Panel_SetEdge(HWND panel, DWORD edge)
{
SendMessage(panel, ALF_WM_PANEL_SETEDGE, 0, (LPARAM)edge);
}
diff --git a/widgetfactory.cpp b/widgetfactory.cpp
index d023e39..021192c 100644
--- a/widgetfactory.cpp
+++ b/widgetfactory.cpp
@@ -201,7 +201,7 @@ buttonPanelAttach(void *closure, HWND outerPanel)
HWND b;
HWND panel;
- ALF_PanelSetEdge(outerPanel, BDR_SUNKENOUTER);
+ ALF_Panel_SetEdge(outerPanel, BDR_SUNKENOUTER);
panel = ALF_AddPanel(outerPanel, (WORD)-1, 0, 0);
@@ -269,7 +269,7 @@ buttonPanelAttach(void *closure, HWND outerPanel)
ALF_LayoutSetColumnExpandNumerator(panel, 9, 1);
- ALF_PanelSetEdge(panel, BDR_RAISEDINNER);
+ ALF_Panel_SetEdge(panel, BDR_RAISEDINNER);
panel = ALF_AddPanel(outerPanel, (WORD)-1, 0, 1);
@@ -323,7 +323,7 @@ buttonPanelAttach(void *closure, HWND outerPanel)
ALF_LayoutSetRowExpandNumerator(panel, 4, 1);
ALF_LayoutSetRowExpandNumerator(panel, 6, 1);
- ALF_PanelSetEdge(panel, BDR_RAISEDINNER);
+ ALF_Panel_SetEdge(panel, BDR_RAISEDINNER);
ALF_LayoutSetRowExpandNumerator(outerPanel, 1, 1);
@@ -373,7 +373,7 @@ static void
buttonPanelInit(HWND panel)
{
CommonPanelPriv *priv = ALF_New(CommonPanelPriv, 1);
- ALF_PanelSetVTable(panel, &buttonPanelVtbl, priv);
+ ALF_Panel_SetVTable(panel, &buttonPanelVtbl, priv);
}
/* label panel */
@@ -383,7 +383,7 @@ static HWND
makeSeparator(HWND parent, int x, int y)
{
HWND p = ALF_AddPanel(parent, (WORD)-1, x, y);
- ALF_PanelSetEdge(p, BDR_SUNKENOUTER);
+ ALF_Panel_SetEdge(p, BDR_SUNKENOUTER);
return p;
}
@@ -466,7 +466,7 @@ static void
labelPanelInit(HWND panel)
{
CommonPanelPriv *priv = ALF_New(CommonPanelPriv, 1);
- ALF_PanelSetVTable(panel, &labelPanelVtbl, priv);
+ ALF_Panel_SetVTable(panel, &labelPanelVtbl, priv);
}
/* combo box panel */
@@ -519,7 +519,7 @@ static void
comboPanelInit(HWND panel)
{
CommonPanelPriv *priv = ALF_New(CommonPanelPriv, 1);
- ALF_PanelSetVTable(panel, &comboPanelVtbl, priv);
+ ALF_Panel_SetVTable(panel, &comboPanelVtbl, priv);
}
/* notebook panel */
@@ -569,7 +569,7 @@ static void
notebookPanelInit(HWND panel)
{
CommonPanelPriv *priv = ALF_New(CommonPanelPriv, 1);
- ALF_PanelSetVTable(panel, &notebookPanelVtbl, priv);
+ ALF_Panel_SetVTable(panel, &notebookPanelVtbl, priv);
}
/* checkbox panel */
@@ -660,7 +660,7 @@ static void
checkboxPanelInit(HWND panel)
{
CommonPanelPriv *priv = ALF_New(CommonPanelPriv, 1);
- ALF_PanelSetVTable(panel, &checkboxPanelVtbl, priv);
+ ALF_Panel_SetVTable(panel, &checkboxPanelVtbl, priv);
}
/* groupbox panel */
@@ -730,7 +730,7 @@ static void
groupboxPanelInit(HWND panel)
{
CommonPanelPriv *priv = ALF_New(CommonPanelPriv, 1);
- ALF_PanelSetVTable(panel, &groupboxPanelVtbl, priv);
+ ALF_Panel_SetVTable(panel, &groupboxPanelVtbl, priv);
}
void (*g_paneInitTable[PANE__MAX])(HWND) = {