Commit bae09edd authored by Lukas's avatar Lukas
Browse files

fancy changes

parent 3558aac8
Pipeline #2314 passed with stage
in 5 minutes and 35 seconds
......@@ -26,6 +26,10 @@
#include <memory>
extern nk_size nk_do_progress(nk_flags *state,
struct nk_command_buffer *out, struct nk_rect bounds,
nk_size value, nk_size max, int modifiable,
const struct nk_style_progress *style, struct nk_input *in);
struct nk_context;
......@@ -102,6 +106,8 @@ namespace mirrage::gui {
auto ctx() -> nk_context*;
auto viewport() -> glm::vec4 {return _viewport;}
void viewport(glm::vec4 new_viewport);
auto centered(int width, int height) -> struct nk_rect;
......
#define NK_IMPLEMENTATION
#define NK_LIB
#include <mirrage/gui/gui.hpp>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment