diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-11 15:51:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-11 15:51:11 +0000 |
commit | 3b8d44fb4646951be55b3777cbe30d3280867067 (patch) | |
tree | 8efa68247b8478dff4856415f06c15babf7136a7 /plugins/TopToolBar/common.h | |
parent | a051932068d3d2b76dac5afb279310505c2e70f0 (diff) |
- antiflicker effect for TTB resizing (thx to FYR for writing it)
- TTB visual part extracted to the separate module
git-svn-id: http://svn.miranda-ng.org/main/trunk@904 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/common.h')
-rw-r--r-- | plugins/TopToolBar/common.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/TopToolBar/common.h b/plugins/TopToolBar/common.h index 23c0bcb2f0..5a189df73b 100644 --- a/plugins/TopToolBar/common.h +++ b/plugins/TopToolBar/common.h @@ -93,12 +93,12 @@ char __inline *AS(char *str, const char *setting, char *addstr); TopButtonInt* CreateButton(TTBButton* but);
-int ttbOptionsChanged();
+int LoadBackgroundOptions();
int ArrangeButtons();
#define DEFBUTTWIDTH 20
-#define DEFBUTTHEIGHT 16
+#define DEFBUTTHEIGHT 20
#define DEFBUTTGAP 1
#define SEPWIDTH 3
@@ -106,12 +106,12 @@ int ArrangeButtons(); extern TTBCtrl* g_ctrl;
extern LIST<TopButtonInt> Buttons;
-extern bool bStopArrange;
extern HINSTANCE hInst;
extern HBITMAP hBmpBackground, hBmpSeparator;
extern CRITICAL_SECTION csButtonsHook;
extern pfnCustomProc g_CustomProc;
extern LPARAM g_CustomProcParam;
+extern HANDLE hTTBModuleLoaded, hTTBInitButtons;
void AddToOptions(TopButtonInt* b);
void RemoveFromOptions(int id);
@@ -128,6 +128,8 @@ char *AS(char *str, const char *setting, char *addstr) #define TTB_LAUNCHSERVICE "TTB/LaunchService"
+TopButtonInt* idtopos(int id, int* pPos=NULL);
+
INT_PTR TTBAddButton(WPARAM, LPARAM);
INT_PTR TTBRemoveButton(WPARAM, LPARAM);
|