mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
slightly better default param values
This commit is contained in:
parent
65b08cc523
commit
b6e4c79f77
1 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
static float textSize = 14.0f;
|
||||
|
||||
bool recomputeVisibleText = false;
|
||||
recomputeVisibleText |= imguiSlider("Number of lines", &visibleLineCount, 1.0f, 300.0f , 1.0f);
|
||||
recomputeVisibleText |= imguiSlider("Number of lines", &visibleLineCount, 1.0f, 177.0f , 1.0f);
|
||||
if(imguiSlider("Font size", &textSize, 6.0f, 64.0f , 1.0f))
|
||||
{
|
||||
fontManager->destroyFont(scaled_font);
|
||||
|
@ -184,7 +184,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
|
||||
recomputeVisibleText |= imguiSlider("Scroll", &textScroll, 0.0f, (lineCount-visibleLineCount) , 1.0f);
|
||||
imguiSlider("Rotate", &textRotation, 0.0f, (float) M_PI *2.0f , 0.1f);
|
||||
recomputeVisibleText |= imguiSlider("Scale", &textScale, 0.2f, 10.0f , 0.1f);
|
||||
recomputeVisibleText |= imguiSlider("Scale", &textScale, 0.1f, 10.0f , 0.1f);
|
||||
|
||||
if( recomputeVisibleText)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue