summaryrefslogtreecommitdiff
path: root/alf/alf.h
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alf.h')
-rw-r--r--alf/alf.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/alf/alf.h b/alf/alf.h
index ad15ed7..db0481f 100644
--- a/alf/alf.h
+++ b/alf/alf.h
@@ -122,6 +122,9 @@ typedef struct {
#define ALF_WM_TPLVL_SETDEFFONT (ALF_WM__BASE + 201)
+#define ALF_WM_ICONVIEW_GETICON (ALF_WM__BASE + 201)
+#define ALF_WM_ICONVIEW_SETICON (ALF_WM__BASE + 202)
+
#define ALF_WM_USER (ALF_WM__BASE + 300)
typedef DWORD ALFColor;
@@ -580,6 +583,23 @@ ALF_AddNativeCheckbox(HWND parent, WORD id, int x, int y, const TCHAR *text);
HWND
ALF_AddNativeRadioButton(HWND parent, WORD id, int x, int y, const TCHAR *text);
+// icons and icon widget
+HWND
+ALF_AddIconView(HWND parent, WORD id, int x, int y, HICON icon);
+
+HICON
+ALF_IconView_Icon(HWND control);
+
+HICON
+ALF_IconView_SetIcon(HWND control, HICON icon);
+
+HICON
+ALF_LoadIcon(HINSTANCE hinst, const TCHAR *name, int cx, int cy);
+
+SIZE
+ALF_IconSize(HICON icon);
+
+
#ifdef __cplusplus
} // extern C
#endif