MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / setFont

Method setFont

src/csvapplication.cpp:2937–2946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2935
2936
2937void CsvApplication::setFont(std::string font) {
2938 this->gridFont = font;
2939 // Store theme settings
2940 preferences.set(TCRUNCHER_PREF_GRID_TEXT_FONT, this->gridFont.c_str());
2941 Fl::redraw();
2942 // Style all openend data windows
2943 // for( int slot = 0; slot < TCRUNCHER_MAX_WINDOWS; ++slot) {
2944 // windows[slot].applyTheme();
2945 // }
2946}
2947
2948std::string CsvApplication::getFont() {
2949 return gridFont;

Callers 2

MyMenuCallbackMethod · 0.80
mainFunction · 0.80

Calls 1

setMethod · 0.80

Tested by

no test coverage detected