Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select input #79

Closed
RohacekD opened this issue Dec 14, 2019 · 0 comments
Closed

Select input #79

RohacekD opened this issue Dec 14, 2019 · 0 comments
Labels
enhancement New feature or request feature Usefull feature Free to take Nice begining issue

Comments

@RohacekD
Copy link
Collaborator

It would be nice to have some way to easily create select box for simplification of code (e.g. ConsoleWindow.cpp:45). The class should be configurable with list of options and have getter for currently selected option.

implementation

So far input GUI stuff can be found in \GLRenderer\GLRenderer\GUI\Input\ and this is suitable place where to place class. Name should begin with prefix "C_" (that stands for "class") and file should have corresponding name. Just take a look around.
Codebase have no signals and reflection so far, so don't try to find any magic in implementation. I attached issue from gui library we are using, so you can inspirate there, or you can see usage of it there.

ConsoleWindow.cpp:45
void C_ConsoleWindow::Draw() const

ocornut/imgui#1658

@RohacekD RohacekD added enhancement New feature or request feature Usefull feature Free to take Nice begining issue labels Dec 14, 2019
@RohacekD RohacekD added this to the GUI Implementation milestone Dec 14, 2019
@RohacekD RohacekD pinned this issue Jan 25, 2020
@RohacekD RohacekD unpinned this issue May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature Usefull feature Free to take Nice begining issue
Projects
None yet
Development

No branches or pull requests

1 participant