home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsd / evntshell / Docs / ColourPick < prev    next >
Encoding:
Text File  |  1995-11-12  |  2.3 KB  |  98 lines

  1. This extension library should be installed
  2. using the FNshell_InstallLib routine so
  3. that the variables and storage space can be
  4. set up.
  5.  
  6. Additionally the messages from the file 'Resources.
  7. UK.colourpick' should be added to the application's
  8. message file.
  9. --------------------------------------------------------
  10.  
  11. FNshell_ColourPick_Init
  12. =>    None
  13.  
  14. <=    bool    TRUE if module initialised correctly
  15.          FALSE otherwise
  16.  
  17. Normally called automatically when the library file
  18. is loaded by FNshell_InstallLib. If the library
  19. code is appended to the main program instead it will
  20. need to be called to initialise the colourpicker
  21. module.
  22.  
  23. --------------------------------------------------------
  24.  
  25. FNshell_ColourPickerModuleLoaded
  26. =>    None
  27.  
  28. <=    bool    TRUE if Acorn colour picker module is
  29.          loaded, FALSE otherwise
  30.  
  31. --------------------------------------------------------
  32.  
  33. FNshell_ColourPickerUsingStandard
  34. =>    None
  35.  
  36. <=    bool    TRUE if Acorn colour picker is being
  37.          used, FALSE otherwise
  38.  
  39. --------------------------------------------------------
  40.  
  41. PROCshell_AttachPopupColourPicker()
  42. =>    int    window handle
  43.     int    icon handle
  44.     int    display icon handle
  45.     str    function to call when selection is made
  46.     str    function to call before dbox opens
  47.  
  48. Button type of icon dbox is attached to is set to 3
  49. (Click) to ensure that event is received.
  50.  
  51. Notify FN
  52. =>    int    Red    value selected    (1-100)
  53.     int    Green    value selected    (1-100)
  54.     int    Blue    value selected    (1-100)
  55.  
  56. <=    int    no meaning
  57.  
  58. PreOpen FN
  59. =>    int window handle of dbox
  60.  
  61. <=    int    no meaning
  62.  
  63. --------------------------------------------------------
  64.  
  65. PROCshell_ColourPickerAllowColourNone()
  66. =>    bool    TRUE colour 'none' allowed. FALSE
  67.                 disallowed
  68.  
  69. Sets whether the 'none' option button is shaded in
  70. the dbox.
  71.  
  72. --------------------------------------------------------
  73.  
  74. PROCshell_ColourPickerSetColour
  75. =>    int    Red    value    (0-100)
  76.     int    Blue    value    (0-100)
  77.     int    Green    value    (0-100)
  78.  
  79.  
  80. --------------------------------------------------------
  81.  
  82. PROCshell_ColourPickerUseNonStandard
  83. =>    none
  84.  
  85. Use the 'EvntShell' style colour selector dbox instead
  86. of the Acorn one.
  87.  
  88. --------------------------------------------------------
  89.  
  90. PROCshell_ColourPickerUseStandard
  91. =>    none
  92.  
  93. Use the standard Acorn colour selector dbox. Has no
  94. effect if the ColourPicker module is not loaded.
  95.  
  96. --------------------------------------------------------
  97.  
  98.