(svn r3439) - CodeChange: Remove a whole bunch of global variables and put them into the WP() macro. Also combine more than one WP-custom element. For this the maximum size of w->custom (WP) has been increased, and multiple types put inside one with possibly moved to the corresponding gui file if it is only used there.

This commit is contained in:
Darkvater
2006-01-26 16:19:24 +00:00
parent f99a200470
commit 1ba8bcd0de
4 changed files with 178 additions and 173 deletions

View File

@@ -258,7 +258,7 @@ typedef struct querystr_d {
// than on a 32-bit system. Therefore, the size is calculated from querystr_d
// instead of a hardcoded number.
// if any struct becomes bigger the querystr_d, it should be replaced.
#define WINDOW_CUSTOM_SIZE sizeof(querystr_d)
#define WINDOW_CUSTOM_SIZE sizeof(querystr_d) * 2
typedef struct Scrollbar {
uint16 count, cap, pos;