We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 496b9a6 commit 5cedf58Copy full SHA for 5cedf58
2 files changed
src/ruisapp/glue/ios/glue.mm
@@ -83,7 +83,7 @@ @interface ViewController : GLKViewController{
83
@end
84
85
namespace{
86
- window_params windowParams(0);
+ window_params windowParams;
87
88
struct WindowWrapper : public utki::destructable{
89
UIWindow *window;
src/ruisapp/window.hpp
@@ -61,10 +61,13 @@ enum class buffer {
61
* @brief Desired window parameters.
62
*/
63
struct window_params {
64
+ constexpr const static auto default_window_width = 300;
65
+ constexpr const static auto default_window_height = 150;
66
+
67
/**
68
* @brief Desired dimensions of the window
69
- r4::vector2<unsigned> dims = {300, 150};
70
+ r4::vector2<unsigned> dims = {default_window_width, default_window_height};
71
72
73
* @brief Window title.
0 commit comments