mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-01-15 17:16:44 +00:00
db32fdb367
Reformatted DolDoc files, adjusted sprites in documentation to reflect naming changes, corrected keybinding labels in AutoComplete window, fixed formatting error in Tips.DD. Added DVD Boot AHCI prototyping into Kernel, displays detected AHCI configuration and halts mid-boot. Small modifications to standard font, slight increase to mouse X and Y speed.
15 lines
1.2 KiB
Text
Executable file
15 lines
1.2 KiB
Text
Executable file
$WW,1$$LK,"gr.text_base",A="MN:CGrGlobals"$ must be updated 60fps in your Fs->draw_it() callback. You probably want $LK,"GrPrint",A="MN:GrPrint"$() or just $LK,"Print",A="MN:Print"$(). The $LK,"DolDoc",A="FI:::/Doc/DolDocOverview.DD"$ code takes care of plotting text to $LK,"gr.text_base",A="MN:CGrGlobals"$.
|
|
|
|
Bits 0-7 8-Bit ASCII Screen Code
|
|
Bits 8-11 Foreground $LK,"color",A="MN:BLACK"$
|
|
Bits 12-15 Background $LK,"color",A="MN:BLACK"$
|
|
Bits 16-20 Signed X pos shift val
|
|
Bits 21-25 Signed Y pos shift val
|
|
Bit 28 $LK,"Blink",A="MN:ATTRF_BLINK"$
|
|
Bit 29 $LK,"Invert",A="MN:ATTRF_INVERT"$ed (Swap foreground and background)
|
|
Bit 30 $LK,"Sel",A="MN:ATTRF_SEL"$ (XOR colors with FF)
|
|
Bit 31 $LK,"Underline",A="MN:ATTRF_UNDERLINE"$
|
|
|
|
$LK,"GrUpdateTaskWin",A="MN:GrUpdateTaskWin"$() calls $LK,"DocUpdateTaskDocs",A="MN:DocUpdateTaskDocs"$() which calls $LK,"DocRecalc",A="MN:DocRecalc"$() where the document text is plotted into $LK,"gr.text_base",A="MN:CGrGlobals"$. Then, $LK,"GrUpdateTextBG",A="MN:GrUpdateTextBG"$() and $LK,"GrUpdateTextFG",A="MN:GrUpdateTextFG"$() render the $LK,"gr.text_base",A="MN:CGrGlobals"$ onto $LK,"gr.dc2",A="MN:CGrGlobals"$, a raw graphic bitmap.
|
|
|
|
See $LK,"::/Demo/Games/Maze.CC"$.
|