Texture sheet: assets/cbbees/textures/gui/construction_planner.png (512×512)
Keep every region at its coordinates and size. Anything outside the regions is unused. Code constants are AllCCRGuiTextures.PLANNER_*.
Sprites on the sheet
| Region |
x |
y |
w |
h |
Notes |
WINDOW |
0 |
0 |
400 |
230 |
Whole window background. Panels, slots and scrollbar tracks are painted into it (see below). |
ROW_HOVER |
0 |
232 |
112 |
18 |
List row under the mouse. Drawn on top of the list, can be translucent. |
ROW_SELECTED |
0 |
250 |
112 |
18 |
Selected list row. |
ICON_GROUP |
116 |
232 |
12 |
12 |
Folder / group entry. |
ICON_PARENT |
128 |
232 |
12 |
12 |
".." entry to go up. |
ICON_SCHEMATIC |
140 |
232 |
12 |
12 |
Schematic entry. |
SCROLL_THUMB |
156 |
232 |
4 |
15 |
Scrollbar thumb, same for both scrollbars. |
ICON_BUTTON |
0 |
272 |
12 |
12 |
Small button background, normal. |
ICON_BUTTON_HOVER |
12 |
272 |
12 |
12 |
Hover. |
ICON_BUTTON_DISABLED |
24 |
272 |
12 |
12 |
Disabled. |
GLYPH_RENAME |
40 |
272 |
12 |
12 |
Drawn on top of the icon button. |
GLYPH_DELETE |
52 |
272 |
12 |
12 |
|
GLYPH_BACK |
64 |
272 |
12 |
12 |
|
GLYPH_RESET_VIEW |
76 |
272 |
12 |
12 |
|
BUTTON |
0 |
288 |
72 |
16 |
Text button, normal. |
BUTTON_HOVER |
0 |
304 |
72 |
16 |
Hover. |
BUTTON_DISABLED |
0 |
320 |
72 |
16 |
Disabled. |
Areas inside WINDOW (coordinates relative to the window)
The code draws content into these rectangles, so the painted background must leave them clear.
| Area |
x |
y |
w |
h |
Content |
| Search field |
8 |
6 |
120 |
12 |
Text input (borderless; text starts at x+3). |
| Title |
133 |
6 |
168 |
12 |
Title text centered. |
| Rename / Delete buttons |
366 / 380 |
6 |
12 |
12 |
Icon buttons. |
| List panel |
7 |
22 |
122 |
184 |
Frame of the list. |
| ↳ Back button |
9 |
24 |
12 |
12 |
Only when inside a group. |
| ↳ Breadcrumb |
23 |
26 |
98 |
9 |
Text. |
| ↳ Rows |
9 |
38 |
112 |
162 |
9 rows of 18 px. Icon at row x+2, y+3; text at x+16. |
| ↳ Scrollbar track |
123 |
38 |
4 |
162 |
Thumb moves inside. |
| Preview panel |
133 |
22 |
168 |
184 |
Frame. |
| ↳ 3D viewport |
135 |
24 |
164 |
150 |
3D preview; reset view button at 285, 26 inside it. |
| ↳ Info area |
135 |
176 |
164 |
28 |
Name, group and size text. |
| Materials panel |
305 |
22 |
88 |
184 |
Frame. |
| ↳ Header |
309 |
25 |
76 |
9 |
"Materials" text. |
| ↳ Slot grid |
309 |
36 |
72 |
162 |
4×9 slots of 18 px; item at slot x+1, y+1, count bottom-right. |
| ↳ Scrollbar track |
385 |
36 |
4 |
162 |
|
| Buttons |
8 / 84 / 244 / 320 |
210 |
72 |
16 |
Select, Assign group, Browse online, Done. |
Placeholder uses the vanilla palette (black border, white highlight, #C6C6C6 body, dark recessed panels) like the other screens.