New project template

I’ve created a GraphicsSettings sample dialog here:
https://github.com/PredatorMF/Urho3D/tree/SetModeTest/Source/Samples/54_GraphicsMode

The components are in ui_option.h/cpp files. There is BoolOption, MultiOption, SliderOption and TabsPanel. These are usable from C++ code and the editor. The demo looks like this:

graphics-settings video-settings

Feel free to modify and use as you like.

3 Likes

Very useful sample. Dealing with monitor/resolution stuff sucks.

Thanks! Will try to impement this when I have a chance.

I started using this to learn more about the engine and it helped me a lot. Reading through your code is a very interesting way to learn the engine and not very confusing. Thanks for the readable code! :smiley:

2 Likes