Topic : The GFA-Basic Compendium
Author : GFA Systemtechnik GmbH
Version : GFABasic.HYP v2.98 (12/31/2023)
Subject : Documentation/Programming
Nodes : 899
Index Size : 28056
HCP-Version : 3
Compiled on : Atari
@charset : atarist
@lang :
@default : Document not found
@help : Help
@options : +g -i -s +z
@width : 75
@hostname : STRNGSRV
@hostname : CAB
@hostname : HIGHWIRE
@hostname : THING
View Ref-File bindings for N.AES v2.0
appl_control()
appl_yield
form_popup()
graf_multirubber()
objc_xfind()
shel_help()
shel_rdef()
shel_wdef()
wind_draw()
wind_sget()
------------------------------------------------------------------------------
WHITEBAK N.AES
purpose: Switch on the MagiC special buttons.
C-prototype: #define WHITEBAK 0x0040
Binding: Tree[obnr].If_state |= WHITEBAK; [bit 6 on]
Parameter description:
If_type = G_BUTTON
G_BUTTON with underscore:
(if_state >> 8) & 0x80 = 0. [bit 15 off]
(if_state >> 8) & 0x7f decides the position of the underscore. [bits 8-14]
As Checkbox with underscore:
If_flags & RADIOBUTTON = 0. [bit 4 off]
(if_state >> 8) & 0x80 = 0x80. [bit 15 on]
(if_state >> 8) & 0x7f decides the position of the underscore. [bits 8-14]
If_flags & FL3DMASK decides the colour of the underscore. [bits 9-10]
As Radiobutton with underscore:
If_flags & RADIOBUTTON = RADIOBUTTON. [bit 4 on]
(if_state >> 8) & 0x80 = 0x80. [bit 15 on]
(if_state >> 8) & 0x7f decides the position of the underscore. [bits 8-14]
If_flags & FL3DMASK decides the colour of the underscore. [bits 9-10]
As Checkbox without underscore:
(if_state >> 8) = 0xff. [bits 8-15 on]
If_flags & RADIOBUTTON = 0. [bit 4 off]
As Radiobutton without underscore:
(if_state >> 8) = 0xff. [bits 8-15 on]
If_flags & RADIOBUTTON = RADIOBUTTON. [bit 4 on]
As Frame:
(if_state >> 8) = 0xfe. [bit 9-15 on]
If_state & SHADOWED control font size [bit 5 on]
If_flags & FL3DMASK decides the 3D-behaviour of frame and font. [bits 9-10]
If_type = G_STRING
G_STRING with underscore:
(if_state >> 8) & 0x80 = 0. [bit 15 off]
(if_state >> 8) & 0x7f decides the position of the underscore. [bits 8-14]
G_STRING, completely underlined based on chars:
(if_state >> 8) = 0xfe. [bits 9-15]
If_flags & FL3DMASK decides the 3D-behaviour of line and font. [bits 9-10]
G_STRING, completely underlined based on object width:
(if_state >> 8) = 0xff. [bits 8-15 on]
If_flags & FL3DMASK decides the 3D-behaviour of line and font. [bits 9-10]
If_type = G_TITLE
G_TITLE with underscore:
(if_state >> 8) & 0x80 = 0. [bit 15 off]
(if_state >> 8) & 0x7f decides the position of the underline. [bits 8-14]
3D-behaviour:
FL3DIND Bit switches text 3D attribute.
FL3DBAK Bit switches line/frame 3D attribute.
Underline colour:
None = black.
Background = black.
Indicator = green.
Activator = red.
With all underscore positions:
If the text is shorter, there will be no underscore drawn.
See too: appl_getinfo(), form_keybd()