annotate gtk/maximize.xpm @ 928:43a5b3c78c41

Two fixes... the first is on the fly calculation of groupbox border size. This also fixes some initial window issues... because the groupbox border height couldn't be calculated until it was size. So first time we size the groupbox to 100x100 and calculate the border size... then the title calculation also works since it has been sized. Second is the first major update to the layout engine in probably 10 years. The layout engine has now been divided into 3 passes instead of 2. Previously the calculation and layout were done together in the second pass... but this could cause layout to happen before all the box variables were finalized causing occassional layout issues. Now the layout is done separately in a third pass after all the calculation is settled.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 23 Apr 2011 13:05:03 +0000
parents b3404a94a15d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
519
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1 /* XPM */
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2 static char * maximize_xpm[] = {
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3 /* width height num_colors chars_per_pixel */
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4 "15 15 5 1",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5 /* colors */
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6 " c white",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7 ". c #5f5f5f",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8 "X c gray75",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
9 "o c gray70",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
10 "O c black",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
11 /* pixels */
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
12 " .",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
13 " XXXXXXXXXXXX..",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
14 " XooooooooooX..",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
15 " XoOOOOOOOOoX..",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
16 " XoOOOOOOOOoX..",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
17 " XoOOOOOOOOoX..",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
18 " XoOOOOOOOOoX..",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
19 " XoOOOOOOOOoX..",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
20 " XoOOOOOOOOoX..",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
21 " XoOOOOOOOOoX..",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
22 " XoOOOOOOOOoX..",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
23 " XooooooooooX..",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
24 " XXXXXXXXXXXX..",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
25 " ..............",
b3404a94a15d Added bitmaps for GTK 2.x MDI code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
26 "..............."};