From b610a10217e4cb5795229fd2a3539ad961830ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 29 Jun 2014 22:20:31 -0700 Subject: [PATCH] Cleanup. --- examples/common/imgui/imgui.cpp | 7 ------- examples/common/imgui/imgui.h | 1 - 2 files changed, 8 deletions(-) diff --git a/examples/common/imgui/imgui.cpp b/examples/common/imgui/imgui.cpp index 88e39b0c..8dad84d8 100644 --- a/examples/common/imgui/imgui.cpp +++ b/examples/common/imgui/imgui.cpp @@ -1909,13 +1909,6 @@ void imguiDrawRect(float _x, float _y, float _width, float _height, uint32_t _ar s_imgui.drawRect(_x, _y, _width, _height, _argb); } -int imguiReserve(int _y) -{ - const int yy = s_imgui.m_widgetY; - s_imgui.m_widgetY += _y; - return yy; -} - void imguiBool(const char* _text, bool& _flag, bool _enabled) { if (imguiCheck(_text, _flag, _enabled) ) diff --git a/examples/common/imgui/imgui.h b/examples/common/imgui/imgui.h index d01d7328..45fb58ed 100644 --- a/examples/common/imgui/imgui.h +++ b/examples/common/imgui/imgui.h @@ -84,7 +84,6 @@ void imguiDrawLine(float _x0, float _y0, float _x1, float _y1, float _r, uint32_ void imguiDrawRoundedRect(float _x, float _y, float _w, float _h, float _r, uint32_t _argb); void imguiDrawRect(float _x, float _y, float _w, float _h, uint32_t _argb); -int imguiReserve(int _y); void imguiBool(const char* _text, bool& _flag, bool _enabled = true); void imguiColorWheel(float _rgb[3], bool _respectIndentation = false, bool _enabled = true); void imguiColorWheel(const char* _str, float _rgb[3], bool& _activated, bool _enabled = true);