Group together defines for default resources values.
authorayin <ayin>
Sun, 17 Feb 2008 15:03:30 +0000 (15:03 +0000)
committerayin <ayin>
Sun, 17 Feb 2008 15:03:30 +0000 (15:03 +0000)
src/feature.h

index ef0d7e5640340ff64cb62e39bab6941e642f2e57..541f78389ae6b3eac0bbc364fc400fdfd401d7d9 100644 (file)
  */
 #define MAX_SAVELINES   10000000
 
-/*
- * Define default colours for certain items.  If you have a low colour
- * display, then consider using colours which are already pre-allocated:
- *
- *   Black             (#000000)
- *   Red3              (#CD0000)
- *   Green3            (#00CD00)
- *   Yellow3           (#CDCD00)
- *   Blue3             (#0000CD)
- *   Magenta3          (#CD00CD)
- *   Cyan3             (#00CDCD)
- *   AntiqueWhite      (#FAEBD7)
- *   Grey25            (#404040)
- *   Red               (#FF0000)
- *   Green             (#00FF00)
- *   Yellow            (#FFFF00)
- *   Blue              (#0000FF)
- *   Magenta           (#FF00FF)
- *   Cyan              (#00FFFF)
- *   White             (#FFFFFF)
- */
-/* These colours MUST be defined */
-#define COLOR_FOREGROUND       "rgb:00/00/00"
-#define COLOR_BACKGROUND       "rgb:ff/ff/ff"
-#define COLOR_SCROLLBAR                "rgb:b2/b2/b2"  /* scrollColor match Netscape */
-#define COLOR_SCROLLTROUGH     "rgb:96/96/96"
-
-/*
- * The cursor colours are special.  Be very careful about setting these:
- * foreground/background colours may be modified by command line or resources
- * prior to this allocation.  Also, they are not valid if NO_CURSORCOLOR is
- * defined
- */
-#define COLOR_CURSOR_FOREGROUND        NULL    /* if NULL, use background colour */
-#define COLOR_CURSOR_BACKGROUND        NULL    /* if NULL, use foreground colour */
-
 /*
  * Define to remove support for XCopyArea () support.  XCopyArea () is useful
  * for scrolling on non-local X displays
  */
 #define NO_SLOW_LINK_SUPPORT
 
-/*
- * Printer pipe which will be used for emulation of attached vt100 printer
- */
-#define PRINTPIPE      "lpr"
-
 /*
  * Allow 80/132 mode switching on startup
  */
 
 /*---------------------------------KEYS---------------------------------*/
 
-/*
- * Define defaults for backspace and delete keys - unless they have been
- * configured out with --disable-backspace-key / --disable-delete-key
- */
-#define DEFAULT_BACKSPACE      "DEC"           /* SPECIAL */
-#define DEFAULT_DELETE         "\033[3~"
-
 /*
  * Enable the keysym resource which allows you to define strings associated
  * with various KeySyms (0xFF00 - 0xFFFF).
  *      (rather than a proportion (1/5) of savedlines buffer)
  *      when paging the savedlines with SHIFT-{Prior,Next} keys.
  */
-#define PAGING_CONTEXT_LINES 1 /* */
+#define PAGING_CONTEXT_LINES 1
 
 /*
  * Have either Ctrl+Tab or Mod4+Tab emit \e\t
  */
 /* #define NO_SCROLLBAR_REPORT */
 
-/*
- * Default separating chars for multiple-click selection
- * Space and tab are separate separating characters and are not settable
- */
-#define CUTCHARS       "\"&'()*,;<=>?@[\\]^`{|}"
-
 /*
  * Have mouse reporting include double-click info for button1
  */
  */
 /* #define NO_SECONDARY_SCREEN_CURSOR */
 
-/*
- * Width of the term internal border
- */
-#define INTERNALBORDERWIDTH    2
-
-/*
- * Width of the term external border
- */
-#define EXTERNALBORDERWIDTH    0
-
-/*
- * Default number of extra dots between lines
- */
-#define LINESPACE      0
-
-/*
- * Default number of lines in the scrollback buffer
- */
-#define SAVELINES      1000
-
 /*
  * Provide termcap/terminfo bw support (wrap backwards on cub1)
  */
 # define LINUX_YIELD_HACK 0
 #endif
 
+/* DEFAULT RESOURCES VALUES */
+
+/*
+ * Define default colours for certain items.  If you have a low colour
+ * display, then consider using colours which are already pre-allocated:
+ *
+ *   Black             (#000000)
+ *   Red3              (#CD0000)
+ *   Green3            (#00CD00)
+ *   Yellow3           (#CDCD00)
+ *   Blue3             (#0000CD)
+ *   Magenta3          (#CD00CD)
+ *   Cyan3             (#00CDCD)
+ *   AntiqueWhite      (#FAEBD7)
+ *   Grey25            (#404040)
+ *   Red               (#FF0000)
+ *   Green             (#00FF00)
+ *   Yellow            (#FFFF00)
+ *   Blue              (#0000FF)
+ *   Magenta           (#FF00FF)
+ *   Cyan              (#00FFFF)
+ *   White             (#FFFFFF)
+ */
+/* These colours MUST be defined */
+#define COLOR_FOREGROUND       "rgb:00/00/00"
+#define COLOR_BACKGROUND       "rgb:ff/ff/ff"
+#define COLOR_SCROLLBAR                "rgb:b2/b2/b2"  /* scrollColor match Netscape */
+#define COLOR_SCROLLTROUGH     "rgb:96/96/96"
+
+/*
+ * The cursor colours are special.  Be very careful about setting these:
+ * foreground/background colours may be modified by command line or resources
+ * prior to this allocation.  Also, they are not valid if NO_CURSORCOLOR is
+ * defined
+ */
+#define COLOR_CURSOR_FOREGROUND        NULL    /* if NULL, use background colour */
+#define COLOR_CURSOR_BACKGROUND        NULL    /* if NULL, use foreground colour */
+
+/*
+ * Printer pipe which will be used for emulation of attached vt100 printer
+ */
+#define PRINTPIPE      "lpr"
+
+/*
+ * Define defaults for backspace and delete keys - unless they have been
+ * configured out with --disable-backspace-key / --disable-delete-key
+ */
+#define DEFAULT_BACKSPACE      "DEC"           /* SPECIAL */
+#define DEFAULT_DELETE         "\033[3~"
+
+/*
+ * Default separating chars for multiple-click selection
+ * Space and tab are separate separating characters and are not settable
+ */
+#define CUTCHARS       "\"&'()*,;<=>?@[\\]^`{|}"
+
+/*
+ * Width of the term internal border
+ */
+#define INTERNALBORDERWIDTH    2
+
+/*
+ * Width of the term external border
+ */
+#define EXTERNALBORDERWIDTH    0
+
+/*
+ * Default number of extra dots between lines
+ */
+#define LINESPACE      0
+
+/*
+ * Default number of lines in the scrollback buffer
+ */
+#define SAVELINES      1000
+
 #endif