Commit Graph
22 Commits
Author SHA1 Message Date
AMay 800a5767f2 Add destructors for all menu components and sub components. Finish menu navigation for class selection window and class info window. 2023-10-22 23:19:47 -05:00
AMay 3f78565655 Added properties for border and background control, vertically align uncentered labels by default. 2023-10-22 10:35:53 -05:00
AMay e9952ca1be An inventory scrollable component window should not be the same as an inventory window as they would layout things differently. Separated into proper hierarchy.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-10-18 18:07:10 +00:00
AMay 46462a24e7 Refactor inventory window so the scrollable consumable window now subscribes to a listener.
Listener list system removes the arbitrary requirement of components needing to be called "inventory" (very error-prone)
2023-10-18 16:06:08 +00:00
AMay 04d6f42526 Handled dynamic adding and removing of inventory items and syncing with menu systems. 2023-10-17 05:35:19 -05:00
AMay 340690a26b Added keyboard/controller controls for scrollable menu components beyond bounds for disabled controls. 2023-10-17 00:50:58 -05:00
AMay 958a1866c7 Keyboard menu button storage can now be differentiated from internal button storage. 2023-10-17 00:31:56 -05:00
AMay daf94db505 Added functional scrollbar. 2023-10-15 14:59:35 -05:00
AMay ff3f4ba1c0 Setup framework for scrollbar and buttons in ScrollableWindowComponent. Fixed a bug where disabled buttons would not increment selection check loop. CreateMenu function instead of creating pointer and returning, so windows can add stuff to menus easily. 2023-10-15 12:58:39 -05:00
AMay be0225aa97 Change scrollable window component's offset to be an attribute instead. 2023-10-12 21:12:10 -05:00
AMay 472e8eceda Rendering of decal portions now controllable via point check overrides. 2023-10-12 20:16:22 -05:00
AMay 18db45e6c3 Implement parent component hover state handling. 2023-10-12 19:35:16 -05:00
AMay 1c4ec84d75 Implement dummy items and scrollablewindowcomponent setup 2023-10-12 18:35:45 -05:00
AMay e3d0283fcb Prepare framework with Draw and DrawDecal split. 2023-10-11 19:50:12 -05:00
AMay 461265a8a4 Added label, text, and quantity descriptions for all items on the inventory menu. 2023-10-07 19:06:56 -05:00
AMay 803a0189d8 Inventory Drag and Drop Management implemented. 2023-10-07 18:28:19 -05:00
AMay 5903692dbb Fix null checks. Inventory display window setup. Ready for draggable interface. 2023-10-07 16:26:03 -05:00
AMay 99c24b9c37 Setup internal menu components so they know what button was clicked on a menu function. Compacted the on click menu function for menu buttons.
Refactored some item convenience functions.
2023-10-07 15:47:26 -05:00
AMay c1d64e7bd1 Window centering and positioning added. 2023-10-06 15:00:27 -05:00
AMay d3f26d4bb0 Render all background windows, foreground window is the only one with direct focus. Background windows are darkened. 2023-10-05 00:42:28 -05:00
AMay 999855c6e8 Proper theming controls added, attributes are now an inheritable interface for anything. 2023-10-03 02:34:26 -05:00
AMay 3723835cc7 Switched menu button system to component inheritance system. 2023-10-01 01:48:27 -05:00