Package RASCAL.ToolboxScale

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

Clauses

Quick access : ClausesGenericsDefinitionsSubprograms


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

Basic Objects

Quick access : ClausesGenericsDefinitionsSubprograms


Basic Objects
Name Type Default
Scale_generate_about_to_be_shown16#1#constant
Scale
Scale_generate_dialogue_completed16#2#constant
Scale_include_scale_to_fit16#4#constant
Scale_percent16#82C000#constant
Scale_std_value016#82C001#constant
Scale_std_value116#82C002#constant
Scale_std_value216#82C003#constant
Scale_std_value316#82C004#constant
Scale_cancel16#82C005#constant
Scale_scale16#82C006#constant
Scale_percent_label16#82C007#constant
Scale_scale_label16#82C008#constant
Scale_scale_to_fit16#82C009#constant
Action_Scale_About_To_Be_Shown16#82C00#constant
Action_Scale_Dialogue_Completed16#82C01#constant
Action_Scale_Apply_Factor16#82C02#constant
Error_Scale_Tasks_Active16#80B700#constant
Error_Scale_Alloc_Failed16#80B701#constant
Error_Scale_Short_Buffer16#80B702#constant
Error_Scale_No_Such_Task16#80B711#constant
Error_Scale_No_Such_Method16#80B712#constant
Error_Scale_No_Such_Misc_Op_Method16#80B713#constant
Scale_Set_Lower_Bound16#1#constant
Scale_Set_Upper_Bound16#2#constant
Scale_Set_Step_Size16#4#constant
 

Definitions

Quick access : ClausesGenericsDefinitionsSubprograms


Types
Name Declaration
standard_value_arrayarray (Natural) of Integer
Toolbox_Scale_AboutToBeShown_Pointeraccess Toolbox_Scale_AboutToBeShown
Toolbox_Scale_ApplyFactor_Pointeraccess Toolbox_Scale_ApplyFactor
Toolbox_Scale_DialogueCompleted_Pointeraccess Toolbox_Scale_DialogueCompleted
   
ScaleTemplate record
Component Type Default
std_valuestandard_value_array (0..3)
WindowRASCAL.Utility.Address
Max_TitleInteger
TitleRASCAL.Utility.Address
Step_SizeInteger
Min_ValueInteger
Max_ValueInteger
FlagsSystem.Unsigned_Types.Unsigned
   
Toolbox_Scale_AboutToBeShown record
Event is raised just before the Scale dialogue is displayed.
Type lacks union.
Component Type Default
InfoWindow_Position_Type (Full_Spec)
Show_TypeInteger
HeaderToolbox_Event_Header
   
ATEL_Toolbox_Scale_AboutToBeShown abstract tagged record
inheritance from Toolbox_EventListener (Toolbox_Event_Scale_AboutToBeShown, -1, -1)
Component Type Default
EventToolbox_Scale_AboutToBeShown_Pointer
   
Toolbox_Scale_ApplyFactor record
Event is raised when the user clicks on the 'Scale' or 'Scale to Fit' button, or presses return.
Component Type Default
FactorSystem.Unsigned_Types.Unsigned
HeaderToolbox_Event_Header
   
ATEL_Toolbox_Scale_ApplyFactor abstract tagged record
inheritance from Toolbox_EventListener (Toolbox_Event_Scale_ApplyFactor, -1, -1)
Component Type Default
EventToolbox_Scale_ApplyFactor_Pointer
   
Toolbox_Scale_DialogueCompleted record
Event is raised after the Scale dialogue is hidden.
Component Type Default
HeaderToolbox_Event_Header
   
ATEL_Toolbox_Scale_DialogueCompleted abstract tagged record
inheritance from Toolbox_EventListener (Toolbox_Event_Scale_DialogueCompleted, -1, -1)
Component Type Default
EventToolbox_Scale_DialogueCompleted_Pointer
  
Pragmas
Convention(C, ScaleTemplate)
Convention(C, Toolbox_Scale_AboutToBeShown)
Convention(C, Toolbox_Scale_ApplyFactor)
Convention(C, Toolbox_Scale_DialogueCompleted)
 

Subprograms

Quick access : ClausesGenericsDefinitionsSubprograms


  
Get_Title function
Returnstring
Returns the title of the Scale dialogue window.
Parameter name Type Mode Default
ScaleObject_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Title procedure
Sets the title of the Scale dialogue window.
Parameter name Type Mode Default
ScaleObject_IDin
Titlestringin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_Window_ID function
ReturnObject_ID
Returns the Wimp Id of the underlying window.
Parameter name Type Mode Default
ScaleObject_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_Value function
Returninteger
Returns the value of the writable field of the scale dialogue.
Parameter name Type Mode Default
ScaleObject_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Value procedure
Sets the value of the writable field of the scale dialogue.
Parameter name Type Mode Default
ScaleObject_IDin
Valueintegerin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_Bounds function
Returninteger
Returns the lower and upper bounds and step size of the writable field in the scale dialogue.
Parameter name Type Mode Default
ScaleObject_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Bounds procedure
Sets the lower and upper bounds and step size of the writable field in the scale dialogue.
Parameter name Type Mode Default
ScaleObject_IDin
Boundsintegerin
FlagsSystem.Unsigned_Types.Unsignedin0