home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / ms95 / disk22 / dir09 / f015410.re_ / f015410.re
Text File  |  1996-04-02  |  4KB  |  107 lines

  1. /*----------------------------------------------------------------------+
  2. |                                    |
  3. |  Copyright (1995) Bentley Systems, Inc., All rights reserved.        |
  4. |                                    |
  5. |  "MicroStation" is a registered trademark and "MDL" and "MicroCSL"    |
  6. |  are trademarks of Bentley Systems, Inc.                    |
  7. |                                    |
  8. |  Limited permission is hereby granted to reproduce and modify this    |
  9. |  copyrighted material provided that the resulting code is used only     |
  10. |  in conjunction with Bentley Systems products under the terms of the    |
  11. |  license agreement provided therein, and that this notice is retained    |
  12. |  in its entirety in any such reproduction or modification.        |
  13. |                                    |
  14. +----------------------------------------------------------------------*/
  15. /*----------------------------------------------------------------------+
  16. |                                    |
  17. |    $Logfile:   J:/mdl/examples/listbox/listcolr.fdv  $
  18. |   $Workfile:   listcolr.fdf  $
  19. |   $Revision:   1.1  $
  20. |       $Date:   29 Jun 1995 15:33:48  $
  21. |                                    |
  22. +----------------------------------------------------------------------*/
  23.  
  24. #if !defined (__listcolrFDF__)
  25. #define __listcolrFDF__
  26.  
  27. /*----------------------------------------------------------------------+
  28. |                                                                       |
  29. |   listcolr.fdf - listcolr public function definitions                |
  30. |                                        |
  31. +----------------------------------------------------------------------*/
  32. /*----------------------------------------------------------------------+
  33. |                                    |
  34. |   Include Files                               |
  35. |                                    |
  36. +----------------------------------------------------------------------*/
  37. #if !defined (__dlogitemH__)
  38. #include <dlogitem.h>
  39. #endif
  40.  
  41. /*----------------------------------------------------------------------+
  42. |                                                                       |
  43. | name          listcolr_colorsDialogHook                |
  44. |                                                                       |
  45. | author        BSI                    09/92           |
  46. |                                                                       |
  47. +----------------------------------------------------------------------*/
  48. void    listcolr_colorsDialogHook
  49. (
  50. DialogMessage    *dmP        /* => a ptr to a dialog message */
  51. );
  52.  
  53. /*----------------------------------------------------------------------+
  54. |                                    |
  55. | name        listcolr_colorsToggleBtnHook                |
  56. |                                    |
  57. | author    BSI                     10/92        |
  58. |                                    |
  59. +----------------------------------------------------------------------*/
  60. void listcolr_colorsToggleBtnHook
  61. (
  62. DialogItemMessage   *dimP    /* => a ptr to a dialog item message */
  63. );
  64.  
  65. /*----------------------------------------------------------------------+
  66. |                                                                       |
  67. | name          listcolr_handleRemap                    |
  68. |                                                                       |
  69. | author        BSI                    10/92           |
  70. |                                                                       |
  71. +----------------------------------------------------------------------*/
  72. void    listcolr_handleRemap
  73. (
  74. int                screen,        /* => screen number */
  75. char             *colortbl,  /* => dgn or ref file's colortbl */
  76. char             *colormap,  /* => new mapping of colortbl */
  77. int                fileNum        /* => 0 = master ctbl, 1-255 = ref file ctbls */
  78. );
  79.  
  80. /*----------------------------------------------------------------------+
  81. |                                    |
  82. | name        listcolr_initializeColorDescriptors            |
  83. |                                    |
  84. | author    BSI                    11/94        |
  85. |                                    |
  86. +----------------------------------------------------------------------*/
  87. int    listcolr_initializeColorDescriptors
  88. (
  89. BSIColorPalette **palPP,
  90. BSIColorDescr   **colorsPP,        /* <= color descr array to initialize */
  91. int            numColorDescrs      /* => number of colors in the array */
  92. );
  93.  
  94. /*----------------------------------------------------------------------+
  95. |                                                                       |
  96. | name          listcolr_coloredListBoxHook                |
  97. |                                                                       |
  98. | author        BSI                    05/95        |
  99. |                                                                       |
  100. +----------------------------------------------------------------------*/
  101. void listcolr_coloredListBoxHook
  102. (
  103. DialogItemMessage   *dimP
  104. );
  105.  
  106. #endif    /* __listcolrFDF__ */
  107.