slightly better default param values

This commit is contained in:
Jeremie Roy 2013-05-22 19:23:24 +02:00
parent 65b08cc523
commit b6e4c79f77
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{