2013 Apr. : Released BareNumbersOS v.0.4
added os_is_alpha
added os_is_uppercase
added os_is_lowercase
added os_is_ctrl_letter
modified screen.asm
added os_print_box_with_color
added os_input_string_with_cursor
added os_g_bitmap
added os_g_screen_to_bitmap
modified ksyscalls.inc
modified bn_syscalls.inc
modified ksysvar.inc
modified set_colsrows_limits in kinit_graph.inc
new controls.asm:
(check, label, activelabel, arrayalabel,
inputstring, bitmap, customcontrol)
new bn_controls.inc
new bn_hello-ui.asm
new ex_controls.inc (in examples.tgz)
new ex_tilectrl.asm (in examples.tgz)
updated manual.txt
updated changes.txt
+ minor changes and bugs fix
----------------------------------------
The major change is 'Tiles and Controls manager':
(from manual.txt):
-Tiles and controls
With the goal to facilitate the writing of programs were added tiles and controls.
The file bn_controls.inc included in your program permits to use tiles (similar but not equal to
tiled windows) and controls (similar to controls in other OS but not objects).
The use of them is optional, they are not part of the kernel.
The tile is a fixed panel or box not overlapping on other tiles with a max of 99 pages (turning with
pg down and pg up) and max 52 controls in every page. The tiles are named from a to z (lowercase),
the controls are named from a to z (lowercase) and from A to Z (uppercase).
To change the focus of a tile press CTRL+letter, to change the focus of a control press only a letter.
You use only keyboard, the mouse is not required: this is very useful and fast.
At this stage of development there are the following controls:
CHECK similar to checkbox, LABEL similar to label, ALABEL similar to button,
ARRAYALABEL similar to listbox, INPUTSTRING similar to textbox, BITMAP similar to image
and CUSTOMCONTROL defined by user.
For more informations view the code in bn_controls.inc, controls.asm and the examples in
bn_hello-ui.asm and ex_tilectrl.asm (in examples.tgz).
Screenshot:
http://barenumbersos.xoom.it/virgiliowi ... are-ui.png