summaryrefslogtreecommitdiff
path: root/alf
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2020-05-31 20:59:39 +0200
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2020-05-31 20:59:39 +0200
commit3fcb8cd1a66b409ae3a8e9ba4941ec2c751ef856 (patch)
tree17969bcb14c2b2eadf6554d23e143f67da51309d /alf
parent91460d1ca83964d21abe84399b46d3f1a92d7b10 (diff)
panel: implement naming convention with underscores
Diffstat (limited to 'alf')
-rw-r--r--alf/alf.h6
-rw-r--r--alf/alfpanel.cpp6
2 files changed, 6 insertions, 6 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);
}