Graphic LineDraw: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:


RAISED is the default and is synonymous with ON.
RAISED is the default and is synonymous with ON.
[[image:Raised.jpg]]
[[image:Raised.jpg]]


SUNKEN indents line draw characters giving a bit more conservative appearance.
SUNKEN indents line draw characters giving a bit more conservative appearance.


[[image:Sunken.jpg]]
[[image:Sunkenline.jpg]]


* Lines are drawn on a window by printing linedraw characters in any position. Linedraw characters may be generated via the numeric keypad using the numbers 0-9 and . when you are in linedraw mode. To toggle linedraw mode on and off, press  Ctrl backslash (CTRL \). See diagram for clarification:
* Lines are drawn on a window by printing linedraw characters in any position. Linedraw characters may be generated via the numeric keypad using the numbers 0-9 and . when you are in linedraw mode. To toggle linedraw mode on and off, press  Ctrl backslash (CTRL \). See diagram for clarification:
[[image:keypad.jpg]]
[[image:keypad.jpg]]
* Custom linedraw sets may be used by modifying the bitmaps DRAWLINE.BMP and DRAWSUNK.BMP.
* Custom linedraw sets may be used by modifying the bitmaps DRAWLINE.BMP and DRAWSUNK.BMP.
* This feature is supported by the [[CONFIG]] command and becomes effective upon the next [[OPEN]] of window #0.
* This feature is supported by the [[CONFIG]] command and becomes effective upon the next [[OPEN]] of window #0.
Line 26: Line 29:


Below is a sample program for printing these borders:
Below is a sample program for printing these borders:
[[image:Linedraw.png]]
[[image:Linedraw.png]]



Revision as of 21:53, 29 July 2014

The Graphic_LineDraw BRConfig.sys specification controls how borders around windows look. The following linedraw modes are supported:

CONFIG GRAPHIC_LINEDRAW THINRAISED  (Thin line Windows mode)
CONFIG GRAPHIC_LINEDRAW THIN        (Default BR thin line sunken)

The above do not require any bitmap files to be present.

CONFIG GRAPHIC_LINEDRAW RAISED   (BR linedraw as before)
CONFIG GRAPHIC_LINEDRAW SUNKEN

These require DRAWLINE.BMP and/or DRAWSUNK.BMP to be present.

RAISED is the default and is synonymous with ON.

SUNKEN indents line draw characters giving a bit more conservative appearance.

  • Lines are drawn on a window by printing linedraw characters in any position. Linedraw characters may be generated via the numeric keypad using the numbers 0-9 and . when you are in linedraw mode. To toggle linedraw mode on and off, press Ctrl backslash (CTRL \). See diagram for clarification:

  • Custom linedraw sets may be used by modifying the bitmaps DRAWLINE.BMP and DRAWSUNK.BMP.
  • This feature is supported by the CONFIG command and becomes effective upon the next OPEN of window #0.
CONFIG GRAPHIC_LINEDRAW {ON | RAISED | SUNKEN | OFF}

Below is a sample program for printing these borders:

File:Linedraw.png

Remember to press CTRL\ to type in the linedraw images.