VirtualBox

Ignore:
Timestamp:
Jun 21, 2013 4:00:51 PM (11 years ago)
Author:
vboxsync
Message:

Debugger/VBoxDbgConsole: A legible font on S10 hosts for the debugger, spaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/VBoxDbgConsole.cpp

    r44528 r46727  
    8383    setPalette(Pal);
    8484    setTextColor(QColor(qRgb(0, 0xe0, 0)));
     85
     86#ifdef DEBUG_ramshankar
     87    /* Solaris host (esp. S10) has illegible Courier font (bad aliasing). */
     88    Font.setFamily("Monospace [Monotype]");
     89    setFont(Font);
     90
     91    /* White on black while I'm at it. */
     92    Pal.setColor(QPalette::All, QPalette::Base, QColor(Qt::white));
     93    setPalette(Pal);
     94    setTextColor(QColor(qRgb(0, 0, 0)));
     95#endif
     96
    8597    NOREF(pszName);
    8698}
     
    102114
    103115    /*
    104      * Insert all in one go and make sure it's visible. 
    105      * 
    106      * We need to move the cursor and unselect any selected text before 
     116     * Insert all in one go and make sure it's visible.
     117     *
     118     * We need to move the cursor and unselect any selected text before
    107119     * inserting anything, otherwise, text will disappear.
    108120     */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette