mirror of
https://github.com/antoinevignau/source.git
synced 2025-01-01 15:30:02 +00:00
1 line
4.6 KiB
Plaintext
Executable File
1 line
4.6 KiB
Plaintext
Executable File
;------------------------------------------
|
|
;
|
|
; Equates from procedure X_ClipData
|
|
;
|
|
;------------------------------------------
|
|
X_Locked equ $8000
|
|
AppleText equ 0
|
|
ApplePict equ 1
|
|
SWText equ $100
|
|
WPText equ $101
|
|
StaticText equ $104
|
|
PICT equ $200
|
|
PLPict equ $204
|
|
GRPict equ $205
|
|
AsciiText equ $300
|
|
SSScrap equ $302
|
|
DBScrap equ $303
|
|
X_NullScrap equ -1
|
|
;------------------------------------------
|
|
;
|
|
; Equates from procedure X_SWScrapEquates
|
|
;
|
|
;------------------------------------------
|
|
X_FontFamily equ 0
|
|
X_FontStyle equ 2
|
|
X_FontSize equ 3
|
|
X_FontColor equ 4
|
|
X_NewFamily equ 1
|
|
X_Geneva equ $3
|
|
X_Monaco equ $4
|
|
X_Courier equ $16
|
|
X_Plain equ 0
|
|
;------------------------------------------
|
|
;
|
|
; Equates from procedure X_PLEquates
|
|
;
|
|
;------------------------------------------
|
|
X_LeftJust equ 0
|
|
X_CenterJust equ 1
|
|
X_RightJust equ 2
|
|
X_FullJust equ 3
|
|
X_SingleSpace equ 0
|
|
X_DoubleSpace equ 1
|
|
X_TripleSpace equ 2
|
|
X_CustomSpace equ 3
|
|
X_JustChange equ 5
|
|
X_SpaceChange equ 6
|
|
;------------------------------------------
|
|
;
|
|
; Equates from procedure X_WorksData
|
|
;
|
|
;------------------------------------------
|
|
X_EOF equ $FF
|
|
X_BlankLine equ $D0
|
|
X_BoldBegin equ 1
|
|
X_BoldEnd equ 2
|
|
X_SuperBegin equ 3
|
|
X_SuperEnd equ 4
|
|
X_SubBegin equ 5
|
|
X_SubEnd equ 6
|
|
X_UnderBegin equ 7
|
|
X_UnderEnd equ 8
|
|
X_PrintPageNo equ 9
|
|
X_EnterKeyboard equ 10
|
|
X_StickySpace equ 11
|
|
;------------------------------------------
|
|
;
|
|
; Equates from procedure X_MSGSOffsets
|
|
;
|
|
;------------------------------------------
|
|
X_FontRecord equ 1
|
|
X_MSRuler equ 2
|
|
X_PageBreak equ 3
|
|
X_MSLeftMargin equ 1
|
|
X_MSIndent equ X_MSLeftMargin+2
|
|
X_MSRightMargin equ X_MSIndent+2
|
|
X_MSSpaceFlags equ X_MSRightMargin+2
|
|
X_MSNumTabs equ X_MSSpaceFlags+3
|
|
X_MSTab1 equ X_MSNumTabs+1
|
|
X_MSTab2 equ X_MSNumTabs+3
|
|
X_MSTab3 equ X_MSNumTabs+5
|
|
X_MSTab4 equ X_MSNumTabs+7
|
|
X_MSTab5 equ X_MSNumTabs+9
|
|
X_MSTab6 equ X_MSNumTabs+11
|
|
X_MSTab7 equ X_MSNumTabs+13
|
|
X_MSTab8 equ X_MSNumTabs+15
|
|
X_MSTab9 equ X_MSNumTabs+17
|
|
X_MSTab10 equ X_MSNumTabs+19
|
|
X_MSRulerSize equ 32
|
|
X_MSFontSize equ 3
|
|
X_MSFontFlags equ 4
|
|
X_MSFontColor equ 5
|
|
X_MSFontRecSize equ 7
|
|
;------------------------------------------
|
|
;
|
|
; Equates from procedure X_WPScrapData
|
|
;
|
|
;------------------------------------------
|
|
X_WPBlockHand equ 0
|
|
X_WPBlockOffset equ X_WPBlockHand+4
|
|
X_WPAttribute equ X_WPBlockOffset+2
|
|
X_WPRulerHand equ X_WPAttribute+2
|
|
X_WPPageBreak equ 1
|
|
|
|
|
|
X_Blocksize equ 3*1024
|
|
X_scr_or_Reserved equ 0 ; ---- RULER RECORD OFFSETS ----
|
|
X_scr_or_Status equ X_scr_or_Reserved+2
|
|
X_scr_or_LeftM equ X_scr_or_Status+2
|
|
X_scr_or_IndentM equ X_scr_or_LeftM+2
|
|
X_scr_or_RightM equ X_scr_or_IndentM+2
|
|
X_scr_or_NumTabs equ X_scr_or_RightM+2
|
|
X_scr_or_TabList equ X_scr_or_NumTabs+2
|
|
X_scr_or_tab1 equ X_scr_or_NumTabs+2
|
|
X_scr_or_tab2 equ X_scr_or_NumTabs+6
|
|
X_scr_or_tab3 equ X_scr_or_NumTabs+10
|
|
X_scr_or_tab4 equ X_scr_or_NumTabs+14
|
|
X_scr_or_tab5 equ X_scr_or_NumTabs+18
|
|
X_scr_or_tab6 equ X_scr_or_NumTabs+22
|
|
X_scr_or_tab7 equ X_scr_or_NumTabs+26
|
|
X_scr_or_tab8 equ X_scr_or_NumTabs+30
|
|
X_scr_or_tab9 equ X_scr_or_NumTabs+34
|
|
X_scr_or_tab10 equ X_scr_or_NumTabs+38
|
|
|
|
X_scr_maxTabs equ 10 ; Maximum number of tabs
|
|
X_scr_ort_Location equ 0 ; ---- TAB RECORD OFFSETS ----
|
|
X_scr_ort_Type equ X_scr_ort_Location+2
|
|
X_scr_ort_EndTabRec equ X_scr_ort_Type+2
|
|
X_scr_r_single equ 1<<0 ; ---- STATUS BITS ----
|
|
X_scr_r_double equ 1<<1
|
|
X_scr_r_triple equ 1<<2
|
|
X_scr_r_widow equ 1<<3
|
|
X_scr_r_left equ 1<<4
|
|
X_scr_r_center equ 1<<5
|
|
X_scr_r_right equ 1<<6
|
|
X_scr_r_full equ 1<<7
|
|
X_scr_ch_left equ 1<<8 ; ---- CHANGE BITS (incl. above) ----
|
|
X_scr_ch_indent equ 1<<9
|
|
X_scr_ch_right equ 1<<10
|
|
X_scr_ch_tabs equ 1<<11
|
|
X_scr_r_spacing equ X_scr_r_single+X_scr_r_double+X_scr_r_triple
|
|
X_scr_r_just equ X_scr_r_full+X_scr_r_center+X_scr_r_right+X_scr_r_left
|
|
X_scr_r_defined equ X_scr_r_spacing+X_scr_r_widow+X_scr_r_just
|
|
X_scr_r_reserved equ $ffff-X_scr_r_defined
|
|
X_SpaceReset equ $ffff-X_scr_r_spacing
|
|
X_JustReset equ $ffff-X_scr_r_just
|
|
X_scr_rt_decimal equ -1 ; ---- TAB TYPES ----
|
|
X_scr_rt_left equ 0
|
|
X_scr_rt_right equ 1
|
|
X_scr_rt_leftm equ 2 ; \
|
|
X_scr_rt_indentm equ 3 ; > (for use by TrackTab only)
|
|
X_scr_rt_rightm equ 4 ; /
|
|
;------------------------------------------
|
|
;
|
|
; Equates from procedure X_WPFileData
|
|
;
|
|
;------------------------------------------
|
|
X_scpBlockHand equ 0
|
|
X_scpOffset equ 4
|
|
X_scpAttr equ 6
|
|
X_scpRulerHand equ 8
|
|
X_scpPixels equ 12
|
|
X_scpLinehand equ 14
|
|
X_scpLastLine equ 18
|
|
X_scpBytes equ 20
|
|
X_scpPgBrk equ 1
|
|
X_scpPicture equ $8000
|
|
X_WinHeaderSize equ 390
|
|
X_MarkBit EQU 1<<15
|
|
X_ClearMark EQU $7fff
|
|
|
|
X_lp_badformat equ 2
|
|
X_lp_unsupported equ 3
|
|
X_lp_usesource equ 4
|
|
|
|
;------------------------------------------
|
|
;
|
|
; Equates from procedure X_FieldScannerData
|
|
;
|
|
;------------------------------------------
|
|
X_TabCR equ 0
|
|
X_SpaceCR equ 1
|
|
X_CRNumber equ 2
|