removed unused variables
This commit is contained in:
parent
61a56a48c4
commit
3e0ff05f9e
@ -56,8 +56,6 @@ show_test_window(struct zr_window *window, struct zr_style *config, enum theme *
|
||||
static zr_flags window_flags = 0;
|
||||
static int minimizable = zr_true;
|
||||
static int close = zr_true;
|
||||
static int scale = zr_false;
|
||||
static int move = zr_false;
|
||||
|
||||
/* collapsable headers */
|
||||
static int window_option_state = ZR_MINIMIZED;
|
||||
@ -647,7 +645,6 @@ show_test_window(struct zr_window *window, struct zr_style *config, enum theme *
|
||||
static const float values[]={8.0f,15.0f,20.0f,12.0f,30.0f,12.0f,35.0f,40.0f,20.0f};
|
||||
static int col_index = -1;
|
||||
static int line_index = -1;
|
||||
static struct zr_vec2 scrollbar;
|
||||
|
||||
size_t i;
|
||||
float min_value;
|
||||
@ -1013,7 +1010,6 @@ init_demo(struct demo *gui)
|
||||
static void
|
||||
run_demo(struct demo *gui)
|
||||
{
|
||||
int res;
|
||||
struct zr_context layout;
|
||||
struct zr_style *current = (gui->theme == THEME_BLACK) ? &gui->config_black : &gui->config_white;
|
||||
gui->running = show_test_window(&gui->panel, current, &gui->theme, &gui->text);
|
||||
|
@ -5610,7 +5610,6 @@ zr_style_push_font(struct zr_style *style, struct zr_user_font font)
|
||||
void
|
||||
zr_style_push_font_height(struct zr_style *style, float font_height)
|
||||
{
|
||||
struct zr_saved_font *f;
|
||||
ZR_ASSERT(style);
|
||||
if (!style) return;
|
||||
if (style->stack.font >= ZR_MAX_FONT_HEIGHT_STACK) return;
|
||||
@ -6055,7 +6054,7 @@ zr_begin(struct zr_context *context, struct zr_window *window, const char *title
|
||||
if (header_active) {
|
||||
zr_flags old;
|
||||
struct zr_rect old_clip = out->clip;
|
||||
struct zr_window_header header, sym;
|
||||
struct zr_window_header header;
|
||||
|
||||
/* This is a little bit of a performace hack. To make sure the header does
|
||||
* not get overdrawn with text you do not have to push a scissor rect. This
|
||||
|
Loading…
Reference in New Issue
Block a user