| DemoGL::Reference::Functions::DEMOGL_LoadingPBEnable |
void DEMOGL_LoadingPBEnable( const int iType, const float fWidth, const float fHeight, const float fBottomLeftX, const float fBottomLeftY );
| Progress bar type | Description |
| DGL_CNTRL_PGB_LINEAR | A linear progress bar is shown with an increasing bar without delineated squares. |
| DGL_CNTRL_PGB_BLOCKS_2D | A progress bar of delineated squares is shown. |
// Enable the progress bar at the bottom of the screen, screenwide. // Make it a linear progress bar. DEMOGL_LoadingPBEnable(DGL_CNTRL_PGB_LINEAR, 1.0f, 0.02f, 0.0f, 0.0f); // Set Progress bar appearance. Make it horizontal DEMOGL_LoadingPBSetAppearance(true, false, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, 1.0f, 0.5f, 0.5f, 0.5f, 1.0f, 1.0f, 1.0f);
Last changed on 20-jan-2001
©1999-2001 Solutions Design