Changeset 317ba0432e in tspsg for src/defaults.h


Ignore:
Timestamp:
Apr 19, 2010, 10:33:02 PM (15 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
b574c383b7
Parents:
a23f4c292f
git-author:
Oleksii Serdiuk <contacts@…> (04/19/10 22:33:02)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:41:27)
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
  • src/defaults.h

    ra23f4c292f r317ba0432e  
    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.