Mercurial > mplayer.hg
comparison gui/app.h @ 32911:e06fbdd8eb46
Clean up the wItem structure.
Rearrange and group members, remove unused members and rename some members
to be more informative and precise.
author | ib |
---|---|
date | Wed, 02 Mar 2011 15:37:50 +0000 |
parents | 1481268ccd30 |
children | ca4d3fa55e43 |
comparison
equal
deleted
inserted
replaced
32910:f34e21c5dc2f | 32911:e06fbdd8eb46 |
---|---|
103 #define evHideWindow 7003 | 103 #define evHideWindow 7003 |
104 #define evShowWindow 7004 | 104 #define evShowWindow 7004 |
105 #define evFirstLoad 7005 | 105 #define evFirstLoad 7005 |
106 | 106 |
107 typedef struct { | 107 typedef struct { |
108 int msg; | 108 int message; |
109 const char *name; | 109 const char *name; |
110 } evName; | 110 } evName; |
111 | 111 |
112 // Skin items | 112 // Skin items |
113 | 113 |
131 int type; | 131 int type; |
132 | 132 |
133 int x, y; | 133 int x, y; |
134 int width, height; | 134 int width, height; |
135 | 135 |
136 int px, py, psx, psy; | |
137 | |
138 int msg, msg2; | |
139 int pressed, tmp; | |
140 int key, key2; | |
141 int phases; | |
142 float value; | |
143 | |
144 txSample Bitmap; | 136 txSample Bitmap; |
145 txSample Mask; | 137 txSample Mask; |
146 | 138 |
147 int fontid; | 139 int fontid; |
148 int align; | 140 int align; |
149 char *label; | 141 char *label; |
150 | 142 |
143 int pwidth, pheight; | |
144 int numphases; | |
145 float value; | |
146 | |
147 int message; | |
148 | |
149 int R, G, B; | |
150 | |
151 char *text; | 151 char *text; |
152 int textwidth; | 152 int textwidth; |
153 unsigned int starttime; | 153 unsigned int starttime; |
154 int last_x; | 154 int last_x; |
155 | 155 |
156 int event; | 156 int pressed, tmp; |
157 | |
158 int R, G, B; | |
159 } wItem; | 157 } wItem; |
160 | 158 |
161 typedef struct { | 159 typedef struct { |
162 wItem main; | 160 wItem main; |
163 wsTWindow mainWindow; | 161 wsTWindow mainWindow; |