Changeset 611


Ignore:
Timestamp:
12/12/13 15:21:14 (10 years ago)
Author:
jts21
Message:

Add default values for settings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/settings/UserSettings.java

    r572 r611  
    3535         * General settings (no setter functions)
    3636         */
    37         public static int Gravity = 3;
    38        
    39         public static float ScaleFactor = 1F;
    40 
    41         public static int LineStraightenThreshold = 15;
    42 
    43         public static int NoOpThreshold = 60;
    44        
    45         public static int TitlePosition = 150;
    46 
    47         public static int InitialWidth = 1024;
    48        
    49         public static int InitialHeight = 768;
     37        public static final int defaultGravity = 3;
     38        public static int Gravity = defaultGravity;
     39       
     40        public static final float defaultScaleFactor = 1F;
     41        public static float ScaleFactor = defaultScaleFactor;
     42
     43        public static final int defaultLineStraightenThreshold = 15;
     44        public static int LineStraightenThreshold = defaultLineStraightenThreshold;
     45
     46        public static final int defaultNoOpThreshold = 60;
     47        public static int NoOpThreshold = defaultNoOpThreshold;
     48       
     49        public static final int defaultTitlePosition = 150;
     50        public static int TitlePosition = defaultTitlePosition;
     51
     52        public static final int defaultInitialWidth = 1024;
     53        public static int InitialWidth = defaultInitialWidth;
     54       
     55        public static final int defaultInitialHeight = 768;
     56        public static int InitialHeight = defaultInitialHeight;
    5057       
    5158        public static String ProfileName;
     
    5360        public static String UserName;
    5461       
    55         public static boolean AntiAlias = false;
    56 
    57         public static boolean LineHighlight = false;
    58 
    59         public static boolean Logging = false;
    60 
    61         public static boolean LogStats = true;
    62 
    63         public static boolean Threading = true;
     62        public static final boolean defaultAntiAlias = false;
     63        public static boolean AntiAlias = defaultAntiAlias;
     64
     65        public static final boolean defaultLineHighlight = false;
     66        public static boolean LineHighlight = defaultLineHighlight;
     67
     68        public static final boolean defaultLogging = false;
     69        public static boolean Logging = defaultLogging;
     70
     71        public static final boolean defaultLogStats = true;
     72        public static boolean LogStats = defaultLogStats;
     73
     74        public static final boolean defaultThreading = true;
     75        public static boolean Threading = defaultThreading;
     76       
     77        public static final boolean defaultAutoWrap = false;
     78        public static boolean AutoWrap = defaultAutoWrap;
    6479       
    6580       
Note: See TracChangeset for help on using the changeset viewer.