Results of today's code review session.
This commit is contained in:
parent
14b3ea7676
commit
f35b74f335
21 changed files with 64 additions and 59 deletions
3
gui.cpp
3
gui.cpp
|
@ -31,6 +31,7 @@ using namespace ftxui;
|
|||
using namespace components;
|
||||
|
||||
void InventoryUI::create_render() {
|
||||
has_border = true;
|
||||
MenuOption option;
|
||||
$inventory_box = Menu(&$menu_list, &$selected, option);
|
||||
|
||||
|
@ -45,7 +46,7 @@ void InventoryUI::create_render() {
|
|||
vflow({
|
||||
paragraph($item_text) | border
|
||||
}) | flex
|
||||
}) | border | flex;
|
||||
}) | flex;
|
||||
});
|
||||
|
||||
set_renderer($inventory_render);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue