Package RASCAL.WimpIcon

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

Clauses

Quick access : ClausesGenericsDefinitionsSubprograms


 
Context clauses
Interfaces.C
Kernel
System
RASCAL.OS
RASCAL.Memory
 
Use clauses
Interfaces.C
Kernel
System
RASCAL.OS
RASCAL.Memory
 

Basic Objects

Quick access : ClausesGenericsDefinitionsSubprograms


Basic Objects
Name Type Default
Wimp_SetCaretPositionInterfaces.C.unsigned16#400D2#constant
Wimp_GetCaretPositionInterfaces.C.unsigned16#400D3#constant
Wimp_CreateIconInterfaces.C.unsigned16#400C2#constant
Wimp_PlotIconInterfaces.C.unsigned16#400E2#constant
Wimp_ResizeIconInterfaces.C.unsigned16#400FC#constant
Wimp_SetIconStateInterfaces.C.unsigned16#400CD#constant
Wimp_GetIconStateInterfaces.C.unsigned16#400CE#constant
Wimp_WhichIconInterfaces.C.unsigned16#400D6#constant
Wimp_DeleteIconInterfaces.C.unsigned16#400C4#constant
f_IconHasTextinteger16#0#constant
m_IconHasTextinteger16#1#constant
f_IconIsSpriteinteger16#1#constant
m_IconIsSpriteinteger16#2#constant
f_IconHasBorderinteger16#2#constant
m_IconHasBorderinteger16#4#constant
f_IconHorizontalCentredinteger16#3#constant
m_IconHorizontalCentredinteger16#8#constant
f_IconVerticalCentredinteger16#4#constant
m_IconVerticalCentredinteger16#10#constant
f_IconFilledinteger16#5#constant
m_IconFilledinteger16#20#constant
f_IconAntiAliasedinteger16#6#constant
m_IconAntiAliasedinteger16#40#constant
f_IconNeedsHelpinteger16#7#constant
m_IconNeedsHelpinteger16#80#constant
f_IconIndirectedinteger16#8#constant
m_IconIndirectedinteger16#100#constant
f_IconRightJustifiedinteger16#9#constant
m_IconRightJustifiedinteger16#200#constant
f_IconAdjustinteger16#a#constant
m_IconAdjustinteger16#400#constant
f_IconHalfSpriteinteger16#b#constant
m_IconHalfSpriteinteger16#800#constant
f_IconSelectedinteger16#15#constant
m_IconSelectedinteger16#200000#constant
f_IconShadedinteger16#16#constant
m_IconShadedinteger16#400000#constant
f_IconDeletedinteger16#17#constant
m_IconDeletedinteger16#800000#constant
texticonssizeinteger2constant
texticonbuffertexticonbuffertyp
texticonbufferoffsetInteger0
 

Definitions

Quick access : ClausesGenericsDefinitionsSubprograms


Types
Name Declaration
spriteareatypnew Integer
iconhandletypnew Integer
indirecteddataptrnew Integer
iconarray_typearray (0..63) of Integer
texticonbuffertyparray (0..texticonssize - 1) of Character
Alignment_Type(Left, Centre, Right)
derzeitiger Offset zum freien Element
   
Wimp_IconState_Type record
Component Type Default
DataChar_Array (1..12)
FlagsInteger
Max_YInteger
Max_XInteger
Min_YInteger
Min_XInteger
IconIcon_Handle_Type
WindowWimp_Handle_Type
   
Wimp_CreateIcon_Type record
Component Type Default
DataChar_Array (1..12)
FlagsInteger0
Max_YInteger0
Max_XInteger0
Min_YInteger0
Min_XInteger0
WindowWimp_Handle_Type
   
Wimp_SetIconState_Tyoe record
Component Type Default
Clear_WordInteger
EOR_WordInteger
IconIcon_Handle_Type
WindowWimp_Handle_Type
 

Subprograms

Quick access : ClausesGenericsDefinitionsSubprograms


  
Get_Alignment function
ReturnAlignment_Type
Returns the alignment of the text in the icons.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
  
Get_Validation function
ReturnString
Returns the validation string of the icon.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
  
Set_Validation procedure
Sets the validation string of the icon.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
ValidationStringin
RedrawBooleanintrue
  
Get_Text function
ReturnString
Returns the icon's text value.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
  
Set_Text procedure
Sets the icon's text value.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
TextStringin
RedrawBooleanintrue
  
Set_State procedure
Set the icon's flags.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
FlagsIntegerin
MaskIntegerin
  
Change_ButtonType procedure
Changes the icon's button type.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
ButtonIntegerin
  
Redraw_Icon procedure
Forces the icon to be redrawn.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
  
Select_Icon procedure
Select icon.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
  
UnSelect procedure
Unselect icon.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
  
Is_Selectable function
ReturnBoolean
Returns true if icon is selectable.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
  
Make_Selectable procedure
Make icon selectable.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
  
Make_Unselectable procedure
Make icon unselectable.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
  
Is_Selected function
ReturnBoolean
Return true if icon is selected.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
  
Delete_Icon procedure
Deletes the icon.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
  
Create_Button function
ReturnIcon_Handle_Type
Creates a new button.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
Min_XIntegerin
Min_YIntegerin
Max_XIntegerin
Max_YIntegerin
TextStringin
AdresseAddressin
  
Create_TextIcon function
ReturnIcon_Handle_Type
Create text icon
Parameter name Type Mode Default
WindowWimp_Handle_Typein
Min_XIntegerin
Min_YIntegerin
Max_XIntegerin
Max_YIntegerin
FlagsIntegerin
TextStringin
bufferlengthIntegerin
AdresseAddressin
  
Create_TextIcon function
ReturnIcon_Handle_Type
Create text icon.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
Min_XIntegerin
Min_YIntegerin
Max_XIntegerin
Max_YIntegerin
FlagsIntegerin
TextStringin
bufferlengthIntegerin0
  
Create_FrameIcon procedure
Create frame icon.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
Min_XIntegerin
Min_YIntegerin
Max_XIntegerin
Max_YIntegerin
TitelStringin
  
Get_Foreground function
ReturnWimp_Colour
Return foreground colour of icon.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
  
Get_Background function
ReturnWimp_Colour
Return background colour of icon.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
  
Set_Background procedure
Set the icons background colour.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
ColourWimp_Colourin
  
Set_Foreground procedure
Set the icons foreground colour.
Parameter name Type Mode Default
WindowWimp_Handle_Typein
IconIcon_Handle_Typein
ColourWimp_Colourin