1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- #ifndef _FF_IPC_H
- #define _FF_IPC_H
- #define IPC_FF_GETSKINCOLOR IPC_FF_FIRST + 1
- typedef struct {
- char colorname[256];
- COLORREF color;
- } ff_skincolor;
- #define SKINCOLOR_TREE_ITEMTEXT "wasabi.tree.text"
- #define SKINCOLOR_TREE_SELITEMBKG L"wasabi.tree.selected"
- #define SKINCOLOR_TREE_HILITEDROP "wasabi.tree.hiliteddrop"
-
- #define SKINCOLOR_LIST_ITEMTEXT L"wasabi.list.text"
- #define SKINCOLOR_LIST_SELITEMBKG "wasabi.list.item.selected"
- #define SKINCOLOR_LIST_FOCUSITEMBKG "wasabi.list.item.focused"
- #define SKINCOLOR_LIST_COLUMNBKG L"wasabi.list.column.background"
- #define SKINCOLOR_LIST_COLUMNTEXT L"wasabi.list.column.text"
- #define SKINCOLOR_LIST_SELITEMTEXT "wasabi.list.item.selected.fg"
- #define SKINCOLOR_LIST_COLUMNSEPARATOR "wasabi.list.column.separator"
- #define SKINCOLOR_BUTTON_TEXT L"wasabi.button.text"
- #define SKINCOLOR_BUTTON_HILITETEXT "wasabi.button.hiliteText"
- #define SKINCOLOR_BUTTON_DIMMEDTEXT "wasabi.button.dimmedText"
- #define IPC_FF_GENSKINBITMAP IPC_FF_FIRST + 2
- typedef struct {
- int id;
- int w, h;
- int state;
- HBITMAP bitmap;
- } ff_skinbitmap;
- #define SKINBITMAP_BUTTON 0
- #define BUTTONSTATE_NORMAL 0
- #define BUTTONSTATE_PUSHED 1
- #define SKINBITMAP_SCROLLBARUPBUTTON 1
- #define SKINBITMAP_SCROLLBARDOWNBUTTON 2
- #define SKINBITMAP_SCROLLBARLEFTBUTTON 3
- #define SKINBITMAP_SCROLLBARRIGHTBUTTON 4
- #define SKINBITMAP_SCROLLBARVBUTTON 5
- #define SKINBITMAP_SCROLLBARHBUTTON 6
- #define SKINBITMAP_SCROLLBAR_FF_UPBUTTON 7
- #define SKINBITMAP_SCROLLBAR_FF_DOWNBUTTON 8
- #define SKINBITMAP_SCROLLBAR_FF_LEFTBUTTON 9
- #define SKINBITMAP_SCROLLBAR_FF_RIGHTBUTTON 10
- #define SKINBITMAP_SCROLLBAR_FF_BARHBUTTON 11
- #define SKINBITMAP_SCROLLBAR_FF_BARVBUTTON 12
- #define SCROLLBARSTATE_NORMAL 0
- #define SCROLLBARSTATE_PRESSED 1
- #define SCROLLBARSTATE_HOVER 2
- #define IPC_FF_ONCOLORTHEMECHANGED IPC_FF_FIRST + 3
- #define IPC_FF_ISMAINWND IPC_FF_FIRST + 4
- #define IPC_FF_GETCONTENTWND IPC_FF_FIRST + 5
- #define IPC_FF_NOTIFYHOTKEY IPC_FF_FIRST + 6
- #endif
|