| 570 | } |
| 571 | |
| 572 | void imguiValue(const char* text) |
| 573 | { |
| 574 | const int x = g_state.widgetX; |
| 575 | const int y = g_state.widgetY - BUTTON_HEIGHT; |
| 576 | const int w = g_state.widgetW; |
| 577 | g_state.widgetY -= BUTTON_HEIGHT; |
| 578 | |
| 579 | addGfxCmdText(x+w-BUTTON_HEIGHT/2, y+BUTTON_HEIGHT/2-TEXT_HEIGHT/2, IMGUI_ALIGN_RIGHT, text, imguiRGBA(255,255,255,200)); |
| 580 | } |
| 581 | |
| 582 | bool imguiSlider(const char* text, float* val, float vmin, float vmax, float vinc, bool enabled) |
| 583 | { |
nothing calls this directly
no test coverage detected