Commit Graph

47 Commits (852bbbc5a0e68042d9fb2c6c9c2fa49c31956e5a)

Author SHA1 Message Date
sigonasr2 a26d86d0b0 Separate GetTextSize and GetWrappedTextSize functions for clarity. Fix sizing comparisons for wrapping text. Fixed issue with menu destinations not properly being assigned on certain buttons. 12 months ago
sigonasr2 d29f7d47bd Implemented string view changes for internal drawing functions and added wrapping support and parameters for draw functions. 12 months ago
sigonasr2 eae8239501 Traveling Merchant Purchase Window and systems implemented. 12 months ago
sigonasr2 71fe49162d Added Merchant/Buy/Sell Menu windows. Added sorted item callbacks for traveling merchant inventory modifications. 12 months ago
sigonasr2 3251053364 Added row item display button components. 1 year ago
sigonasr2 ac0f5c42aa Hover functionality moved out to MenuComponent so any component can utilize them. 1 year ago
sigonasr2 025a89788e Fix border display drawing for menus. Fix scrollable window components that went outside to use proper scrolling offsets. Fix issue with same-frame clicking and releasing causing a different button to be selected. 1 year ago
sigonasr2 44fcbc80cd Fixed up menu components to not rely on old parent positions. 1 year ago
sigonasr2 7a46f79f2b Fix Perspective correction on ViewPort PGEX. Implement windowing system and remove sprite reliance from all menu components. 1 year ago
sigonasr2 4bab1397dc Fix ViewPort PGEX. Added Draw String functions from PGE to ViewPort. 1 year ago
sigonasr2 e4f63a3550 Change implementation of scrollable inventory component displays, make tabs on inventory window functional. 1 year ago
sigonasr2 469bea4c5e Inventory display window tabs are implemented, inventory component is displayed. Ranger Backstep cancels casts. Casts are forced to be channeled for 0.2 seconds before walking can cancel them, 1 year ago
sigonasr2 e744112206 GUI template/macro usage refactor. 1 year ago
sigonasr2 13104bae66 Back button in character stats window, moved elements slightly upwards for better positioning. 1 year ago
sigonasr2 ae2d1719c8 Add a BeforeUpdate event for components to handle mouse out events (specifically for equip item slots showing stat differences.) Corrects a bug with stat differences not refreshing on mouse out. 1 year ago
sigonasr2 88a239cd91 Equip Window is now functional. 1 year ago
sigonasr2 e615831ded Equipment window shows equip stat changes on mouseover. 1 year ago
sigonasr2 2af830d400 FreeType license (required for PGEX_TTF) included in all license notices. Setup project with freetype libraries and includes. Added gamepad PGEX for future gamepad support. 1 year ago
sigonasr2 3ff558d44e Added pragma regions to all license comment fields in files and collapsed them. 1 year ago
sigonasr2 2bf45dacef It's 2023 btw 1 year ago
sigonasr2 dd531d1fd7 Apply OLC-3 License to all source files. 1 year ago
sigonasr2 2594078794 Update labels for different zones when clicking through them. 1 year ago
sigonasr2 30a5cdc488 Correct memory leak in consuming items from inventory. Added overworld menu layout. Warrior Up walk animation has head bobbing like all the others now. Fixed alignment of items for ScrollableWindowComponents, fix scrollbar resizing when parent component has offsets. 1 year ago
sigonasr2 380582dfeb Implemented automatic memory leak detection and reporting for CRT. 1 year ago
sigonasr2 2e248e30b4 Converted boolean flags for component creation in windows to using enum bitwise attributes. 1 year ago
sigonasr2 c82a3c5980 Refactor menucomponent internal draw function a little bit for code organizing. 1 year ago
sigonasr2 cedb465c79 Toggle Interface implementation. Class toggling connections created and class switching via class selection menu completed. 1 year ago
sigonasr2 02c7165b37 Add in class display labels, animated sprite icons, and title of the window. 1 year ago
sigonasr2 debced946e Menu component leak debugging detection added. 1 year ago
sigonasr2 800a5767f2 Add destructors for all menu components and sub components. Finish menu navigation for class selection window and class info window. 1 year ago
sigonasr2 3f78565655 Added properties for border and background control, vertically align uncentered labels by default. 1 year ago
sigonasr2, Sig, Sigo 46462a24e7 Refactor inventory window so the scrollable consumable window now subscribes to a listener. 1 year ago
sigonasr2 04d6f42526 Handled dynamic adding and removing of inventory items and syncing with menu systems. 1 year ago
sigonasr2 340690a26b Added keyboard/controller controls for scrollable menu components beyond bounds for disabled controls. 1 year ago
sigonasr2 958a1866c7 Keyboard menu button storage can now be differentiated from internal button storage. 1 year ago
sigonasr2 daf94db505 Added functional scrollbar. 1 year ago
sigonasr2 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. 1 year ago
sigonasr2 472e8eceda Rendering of decal portions now controllable via point check overrides. 1 year ago
sigonasr2 18db45e6c3 Implement parent component hover state handling. 1 year ago
sigonasr2 e3d0283fcb Prepare framework with Draw and DrawDecal split. 1 year ago
sigonasr2 461265a8a4 Added label, text, and quantity descriptions for all items on the inventory menu. 1 year ago
sigonasr2 803a0189d8 Inventory Drag and Drop Management implemented. 1 year ago
sigonasr2 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. 1 year ago
sigonasr2 d3f26d4bb0 Render all background windows, foreground window is the only one with direct focus. Background windows are darkened. 1 year ago
sigonasr2 10cfb009f7 Added scaling/tiling capabilities for themes. Safe maps have unordered version. 1 year ago
sigonasr2 999855c6e8 Proper theming controls added, attributes are now an inheritable interface for anything. 1 year ago
sigonasr2 3723835cc7 Switched menu button system to component inheritance system. 1 year ago