mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Reordering imguiBeginScrollArea() parameters.
This commit is contained in:
parent
06d6176392
commit
c2b0ee89cb
2 changed files with 4 additions and 4 deletions
|
@ -670,7 +670,7 @@ struct Imgui
|
|||
nvgEndFrame(m_nvg);
|
||||
}
|
||||
|
||||
bool beginScrollArea(const char* _name, int32_t _x, int32_t _y, int32_t _width, int32_t _height, int32_t* _scroll, int32_t _r, bool _enabled)
|
||||
bool beginScrollArea(const char* _name, int32_t _x, int32_t _y, int32_t _width, int32_t _height, int32_t* _scroll, bool _enabled, int32_t _r)
|
||||
{
|
||||
m_areaId++;
|
||||
m_widgetId = 0;
|
||||
|
@ -2468,9 +2468,9 @@ bool imguiBorderButton(ImguiBorder::Enum _border, bool _checked, bool _enabled)
|
|||
return s_imgui.borderButton(_border, _checked, _enabled);
|
||||
}
|
||||
|
||||
bool imguiBeginScrollArea(const char* _name, int32_t _x, int32_t _y, int32_t _width, int32_t _height, int32_t* _scroll, int32_t _r, bool _enabled)
|
||||
bool imguiBeginScrollArea(const char* _name, int32_t _x, int32_t _y, int32_t _width, int32_t _height, int32_t* _scroll, bool _enabled, int32_t _r)
|
||||
{
|
||||
return s_imgui.beginScrollArea(_name, _x, _y, _width, _height, _scroll, _r, _enabled);
|
||||
return s_imgui.beginScrollArea(_name, _x, _y, _width, _height, _scroll, _enabled, _r);
|
||||
}
|
||||
|
||||
void imguiEndScrollArea()
|
||||
|
|
|
@ -90,7 +90,7 @@ void imguiEndFrame();
|
|||
/// Notice: this function is not to be called between imguiBeginScrollArea() and imguiEndScrollArea().
|
||||
bool imguiBorderButton(ImguiBorder::Enum _border, bool _checked, bool _enabled = true);
|
||||
|
||||
bool imguiBeginScrollArea(const char* _name, int _x, int _y, int _width, int _height, int* _scroll, int32_t _r = 6, bool _enabled = true);
|
||||
bool imguiBeginScrollArea(const char* _name, int _x, int _y, int _width, int _height, int* _scroll, bool _enabled = true, int32_t _r = 6);
|
||||
void imguiEndScrollArea();
|
||||
|
||||
void imguiIndent(uint16_t _width = 16);
|
||||
|
|
Loading…
Reference in a new issue