Skip to content

Many things for widget system#112

Open
AlemSnyder wants to merge 60 commits into
mainfrom
GUI/UI
Open

Many things for widget system#112
AlemSnyder wants to merge 60 commits into
mainfrom
GUI/UI

Conversation

@AlemSnyder

Copy link
Copy Markdown
Owner

This adds frames, buttons, and text to the widget system.

Buttons can call functions when pressed, and widgets will move to the top when selected.

Still needs much work like dynamic resizing and scrolling.

@AlemSnyder

AlemSnyder commented Feb 6, 2026

Copy link
Copy Markdown
Owner Author
  • Add FreeType to GitHub actions
  • Some duplicated comments (and commented out code)
  • Probably some duplicated code (Check with lizard)
  • Some formatting, in particular check JSON

@AlemSnyder AlemSnyder left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally clean the code up.

Comment thread resources/shaders/overlay/FramedWindow.frag
Comment thread resources/shaders/overlay/TextWindow.frag
Comment thread resources/shaders/overlay/TextWindow.vert
Comment thread resources/textures/GenericBorder.json
Comment thread resources/textures/GenericBorder_2.json
Comment thread src/gui/render/gpu_data/vertex_buffer_object.hpp
Comment thread src/gui/render/graphics_shaders/program_handler.cpp Outdated
Comment thread src/gui/render/structures/font.cpp
Comment thread src/gui/scene/controls.cpp
Comment thread src/graphics_main.cpp
@egelja

egelja commented Mar 2, 2026

Copy link
Copy Markdown
Collaborator
image

You need to use Clang/LLVM 19 or newer: clangd/clangd#2200

@AlemSnyder AlemSnyder left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do changes

Comment thread src/gui/render/graphics_shaders/shader_program.cpp Outdated
Comment thread src/gui/render/graphics_shaders/shader_program.hpp
Comment thread src/gui/render/structures/font.hpp
Comment thread src/gui/render/structures/font.hpp
Comment thread src/gui/the_buttons/button_widget.hpp Outdated
Comment thread src/gui/the_buttons/frame.hpp Outdated
Comment thread src/gui/the_buttons/frame.hpp Outdated
Comment thread src/gui/the_buttons/text_widget.hpp
Comment thread src/gui/the_buttons/text_widget.hpp Outdated
Comment thread src/gui/the_buttons/user_interface.hpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants