| 362 | } |
| 363 | |
| 364 | void UserPrefsEditor::DrawRightLabel(IUIControl* control, std::string text, ofColor color, float offsetX) |
| 365 | { |
| 366 | if (control->IsShowing()) |
| 367 | { |
| 368 | ofRectangle rect = control->GetRect(true); |
| 369 | ofPushStyle(); |
| 370 | ofSetColor(color); |
| 371 | DrawTextNormal(text, rect.getMaxX() + offsetX, rect.getMaxY() - 3, 11); |
| 372 | ofPopStyle(); |
| 373 | } |
| 374 | } |
| 375 | |
| 376 | void UserPrefsEditor::CleanUpSave(std::string& json) //remove the markup hack that got the json file to save ordered |
| 377 | { |
nothing calls this directly
no test coverage detected