Changeset 104 in tspsg-svn for trunk/src/defaults.h


Ignore:
Timestamp:
Apr 19, 2010, 10:33:02 PM (15 years ago)
Author:
laleppa
Message:
  • Improved the solution output generation algorithm. Now it works directly with QTextDocument instead of "feeding" it with HTML. Thanks to this the solution output generation is now about 1.65 times faster.
  • Added .txt extension to ChangeLog?, INSTALL and README files to simplify opening these files in Windows.
  • Made a small improvement to Settings Dialog to follow the current application palette.
  • Output text color if not set is now determmined based on the current application palette.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/defaults.h

    r100 r104  
    9191        #define DEF_FONT_SIZE 10
    9292#endif // Q_OS_SYMBIAN
    93 //! Default font color
    94 #define DEF_FONT_COLOR Qt::black
     93//! Default text color
     94#define DEF_TEXT_COLOR QPalette().color(QPalette::Text)
     95//! Default selected candidate color
     96#define DEF_SELECTED_COLOR QColor(0x008000)
     97//! Default alternate candidate color
     98#define DEF_ALTERNATE_COLOR QColor(0xA00000)
    9599
    96100#endif // DEFAULTS_H
Note: See TracChangeset for help on using the changeset viewer.