Initial layout of an item inventory UI.
This commit is contained in:
parent
3d461bce6d
commit
d7353a02df
2 changed files with 48 additions and 10 deletions
6
gui.hpp
6
gui.hpp
|
@ -50,6 +50,12 @@ struct UnDumbTSS {
|
|||
|
||||
class InventoryUI : public Panel {
|
||||
public:
|
||||
std::vector<string> $inventory_list;
|
||||
int $selected = 0;
|
||||
Component $inventory_box;
|
||||
Component $inventory_table;
|
||||
string $fake_text;
|
||||
|
||||
InventoryUI() : Panel(INVENTORY_PIXEL_X, INVENTORY_PIXEL_Y, INVENTORY_WIDTH, INVENTORY_HEIGHT) {}
|
||||
void create_render();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue