Package RASCAL.ToolboxColourDbox

DescriptionToolbox ColourDbox related types and methods.
Authorbbracke
Date2005/11/21 20:14:33
Revision1.1
 

Clauses

Quick access : ClausesGenericsDefinitionsSubprograms


 
Context clauses
Interfaces.C
System.Unsigned_Types
RASCAL.Utility
RASCAL.Toolbox
RASCAL.OS
 
Use clauses
Interfaces.C
System.Unsigned_Types
RASCAL.Utility
RASCAL.Toolbox
RASCAL.OS
 

Basic Objects

Quick access : ClausesGenericsDefinitionsSubprograms


Basic Objects
Name Type Default
ColourDBox_Dialogue_Completed_Colour_Choice16#1#constant
Flags
Colourdbox_Generate_About_To_Be_Shown16#1#constant
Colourdbox_Generate_Dialogue_Completed16#2#constant
Colourdbox_Include_None_Button16#4#constant
Colourdbox_Select_None_button16#8#constant
Colourdbox_Colour_Transparent16#1#constant
 

Definitions

Quick access : ClausesGenericsDefinitionsSubprograms


Types
Name Declaration
Colour_Dataarray (System.Unsigned_Types.Unsigned) of System.Unsigned_Types.Unsigned
Toolbox_ColourDbox_AboutToBeShown_Pointeraccess Toolbox_ColourDbox_AboutToBeShown
Toolbox_ColourDbox_ColourSelected_Pointeraccess Toolbox_ColourDbox_ColourSelected
Toolbox_ColourDbox_DialogueCompleted_Pointeraccess Toolbox_ColourDbox_DialogueCompleted
   
ColourDBoxTemplate record
Component Type Default
ColourSystem.Unsigned_Types.Unsigned
Max_TitleInteger
TitleAddress
FlagsSystem.Unsigned_Types.Unsigned
   
Colour_Type record
Discriminant Type Default
NrSystem.Unsigned_Types.Unsigned
Component Type Default
DataColour_Data (1..Nr)
ModelSystem.Unsigned_Types.Unsigned
RemainderSystem.Unsigned_Types.Unsigned0
ColourSystem.Unsigned_Types.Unsigned
   
Colour_Model_Type record
Discriminant Type Default
NrSystem.Unsigned_Types.Unsigned
Component Type Default
DataColour_Data (1..Nr)
ModelSystem.Unsigned_Types.Unsigned
RemainderSystem.Unsigned_Types.Unsigned0
   
Toolbox_ColourDbox_AboutToBeShown record
Event is raised just before the Colour Dialogue Box is displayed.

Event type is not fully specified as it contains a union.
Component Type Default
HeaderToolbox_Event_Header
   
ATEL_Toolbox_ColourDbox_AboutToBeShown abstract tagged record
inheritance from Toolbox_EventListener (Toolbox_Event_ColourDbox_AboutToBeShown, -1, -1)
Component Type Default
EventToolbox_ColourDbox_AboutToBeShown_Pointer
   
Toolbox_ColourDbox_ColourSelected record
Event is raised when the user clicks OK in the dialogue box.
Component Type Default
Colour_BlockSystem.Unsigned_Types.Unsigned
HeaderToolbox_Event_Header
   
ATEL_Toolbox_ColourDbox_ColourSelected abstract tagged record
inheritance from Toolbox_EventListener (Toolbox_Event_ColourDbox_ColourSelected, -1, -1)
Component Type Default
EventToolbox_ColourDbox_ColourSelected_Pointer
   
Toolbox_ColourDbox_DialogueCompleted record
Event is raised after the Colour Dialogue Box is hidden.
Component Type Default
HeaderToolbox_Event_Header
   
ATEL_Toolbox_ColourDbox_DialogueCompleted abstract tagged record
inheritance from Toolbox_EventListener (Toolbox_Event_ColourDbox_DialogueCompleted, -1, -1)
Component Type Default
EventToolbox_ColourDbox_DialogueCompleted_Pointer
  
Pragmas
Convention(C, ColourDBoxTemplate)
Convention(C, Toolbox_ColourDbox_AboutToBeShown)
Convention(C, Toolbox_ColourDbox_ColourSelected)
Convention(C, Toolbox_ColourDbox_DialogueCompleted)
 

Subprograms

Quick access : ClausesGenericsDefinitionsSubprograms


  
Get_Colour function
ReturnColour_Type
Returns the colour displayed in the Colour Dialogue.
Parameter name Type Mode Default
ColourDboxObject_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_ColourModel function
ReturnColour_Model_Type
Returnt the colour model currently used in the Colour Dialogue.
Parameter name Type Mode Default
ColourDboxObject_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_DialogueHandle function
ReturnWimp_Handle_Type
Returns the handle of the dialogue box used by the Colour Picker module.
Parameter name Type Mode Default
ColourDboxObject_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_NoneAvailable function
Returnboolean
Is the 'None' option available in the Colour Dialogue ?
Parameter name Type Mode Default
ColourDboxObject_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_WimpHandle function
ReturnWimp_Handle_Type
Returns the Wimp window handle of the window used by the Colour Picker module.
Parameter name Type Mode Default
ColourDboxObject_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Colour procedure
Sets the colour displayed in the Colour Dialogue.
Parameter name Type Mode Default
ColourDboxObject_IDin
ColourColour_Typein
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_ColourModel procedure
Sets the colour model currently used in the Colour Dialogue.
Parameter name Type Mode Default
ColourDboxObject_IDin
ModelColour_Model_Typein
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_NoneAvailable procedure
Sets whether a 'None' option is available in the Colour Dialogue.
Parameter name Type Mode Default
ColourDboxObject_IDin
None_Availablebooleanin
FlagsSystem.Unsigned_Types.Unsignedin0