Changeset 78 in tspsg-svn for trunk/src/globals.h


Ignore:
Timestamp:
Dec 18, 2009, 1:57:39 PM (14 years ago)
Author:
laleppa
Message:

+ Added an ability to disable showing of the solution steps' matrices in solution output.

  • Replaced Ok and Cancel buttons in SettingsDialog? with QButtonBox. Now the buttons conform the interface guidelines of the target platform.
  • Increased the allowed maximum number of cities to 50. Solution steps' matrices aren't shown by default if the number of cities in task is more than 15.
  • For WinCE the size of the toolbar buttons is now determined based on the device DPI instead of its resolution.
  • Open and save file dialogs are now using native dialogs where supported.
  • Reworked About dialog a little bit.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/globals.h

    r67 r78  
    4646//! Default number of cities
    4747#define DEF_NUM_CITIES 5
     48//! Default value for showing or not solution step matrices
     49#define DEF_SHOW_MATRIX true
     50//! Default value for using or not city limit for showing solution steps matrices
     51#define DEF_USE_SHOW_MATRIX_LIMIT true
     52//! Default maximum number of cities to show solution step matrices
     53#define DEF_SHOW_MATRIX_CITY_LIMIT 15
    4854//! Default font name
    4955#define DEF_FONT_FAMILY "Courier New"
     
    5460
    5561//! Maximum available number of cities
    56 #define MAX_NUM_CITIES 30
     62#define MAX_NUM_CITIES 50
    5763//! Maximum allowed value for random generation limits
    5864#define MAX_RAND_VALUE 1000
Note: See TracChangeset for help on using the changeset viewer.