----------------------------------------------------------------------------
| 2903 | } |
| 2904 | //---------------------------------------------------------------------------- |
| 2905 | void ConsoleDebugger::changeStackFontCB(void) |
| 2906 | { |
| 2907 | bool ok = false; |
| 2908 | |
| 2909 | QFont selFont = QFontDialog::getFont( &ok, stackText->QWidget::font(), this, tr("Select Font"), QFontDialog::MonospacedFonts ); |
| 2910 | |
| 2911 | if ( ok ) |
| 2912 | { |
| 2913 | stackText->setFont( selFont ); |
| 2914 | |
| 2915 | //printf("Font Changed to: '%s'\n", font.toString().toStdString().c_str() ); |
| 2916 | |
| 2917 | g_config->setOption("SDL.DebuggerStackFont", selFont.toString().toStdString().c_str() ); |
| 2918 | } |
| 2919 | } |
| 2920 | //---------------------------------------------------------------------------- |
| 2921 | void ConsoleDebugger::changeCpuFontCB(void) |
| 2922 | { |