home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lifeos2.zip / LIFE-1.02 / LIB / XTOOLS_C.L00 < prev    next >
Text File  |  1996-06-04  |  3KB  |  112 lines

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. %    $Id: xtools_constants.lf,v 1.4 1996/02/01 20:26:34 vorbeck Exp $
  3. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4. %
  5. % XTOOLS: CONSTANTS USED
  6. %
  7. % Author: Bruno Dumant
  8. % (c) Copyright 1993 - Digital Equipment Corporation 
  9. % All Rights Reserved
  10. %
  11. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  12. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  13.  
  14. %%% Changed the names of led_width, led_height, led_position, led_offset
  15. %%% to d_led_*
  16. %%% 29/09/94  Vorbeck
  17.  
  18. public(        
  19.     d_v_slider_height,d_v_slider_width,
  20.         d_h_slider_height,d_h_slider_width,
  21.         d_led_width,d_led_height,d_led_position,
  22.         
  23.     d_border,d_slide_bar_border,
  24.     
  25.     d_v_space,d_h_space,d_item_v_space,
  26.  
  27.     d_offset,d_led_offset,d_text_field_offset,d_item_offset,
  28.     
  29.     bold,medium,
  30.  
  31.     d_button,d_panel,d_item,d_slider,
  32.     d_text,d_selected_text,
  33.     d_field,d_selected_field,
  34.     d_led_on,d_led_off
  35.        ) ?
  36.  
  37.  
  38.  
  39.  
  40. %%% Default Colors
  41.  
  42. def_color(main_colors,d_item,grey) ?
  43. def_color(highlight_colors,d_item,white) ?
  44. def_color(shade_colors,d_item,'dim grey') ?
  45.  
  46. def_color(main_colors,d_panel,grey) ?
  47. def_color(highlight_colors,d_panel,white) ?
  48. def_color(shade_colors,d_panel,'dim grey') ?
  49.  
  50. def_color(main_colors,d_led_off,new_color(180,190,190)) ?
  51. def_color(shade_colors,d_led_off,'dim grey') ?
  52. def_color(highlight_colors,d_led_off,'light grey') ?
  53.  
  54. def_color(shade_colors,d_button,'dim grey') ?
  55. def_color(highlight_colors,d_button,white) ?
  56. def_color(main_colors,d_button,grey) ?
  57.  
  58. def_color(shade_colors,d_field,'dim grey') ?
  59. def_color(highlight_colors,d_field,white) ?
  60. def_color(main_colors,d_field,'light grey') ?
  61.  
  62.  
  63. def_color(shade_colors,d_led_on,firebrick) ?
  64. def_color(highlight_colors,d_led_on,'orange red') ?
  65. def_color(main_colors,d_led_on,red) ?
  66.  
  67. def_color(main_colors,d_text,black) ?
  68. def_color(main_colors,d_selected_text,black) ?
  69.  
  70. def_color(main_colors,d_selected_field,new_color(255,240,225)) ?
  71.  
  72. def_color(shade_colors,d_slider,'dim grey') ?
  73. def_color(highlight_colors,d_slider,white) ?
  74. def_color(main_colors,d_slider, grey) ?
  75.  
  76. %%% Default Fonts
  77.  
  78. def_font(bold,new_font("-*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*")) ?
  79.  
  80. def_font(medium,new_font("-*-helvetica-medium-r-*-*-14-*-*-*-*-*-*-*")) ?
  81.  
  82.  
  83. %%% Dimensions
  84.  
  85. global(d_v_slider_height <- 20) ?
  86. global(d_v_slider_width <- 15) ?
  87.  
  88. global(d_h_slider_height <- 15) ?
  89. global(d_h_slider_width <- 20) ?
  90.  
  91. global(d_border <- 5) ?
  92. global(d_slide_bar_border <- 0) ?
  93.  
  94. global(d_v_space <- 12) ?
  95. global(d_h_space <- 20) ?
  96.  
  97. global(d_item_v_space <- 6) ?
  98.  
  99. global(d_led_width <- 16) ?
  100. global(d_led_height <- 9) ?
  101. global(d_led_position <- 9) ?
  102.  
  103. global(d_offset <- 0) ?
  104. global(d_text_field_offset <- 5) ?
  105. global(d_item_offset <- 5) ?
  106. global(d_led_offset <- 35) ?
  107.  
  108.  
  109.  
  110.  
  111.  
  112.