4-2002
dgi productions presents
SVision
Binaries of SVPE and SVFE are available, thanks to
http://www.borland.fr,
where you can d/l a free TP7.
SVision is a free open source OOP GUI, I made from zero.
I am now Iam developing this project under freedos running in a dosemu session in linux.
[SV previews]
[DownLoad SV]
News:
- Some bugs were fixed mainly in the menus
- Speeded up the output of chars (char draing procedures draw the char
into a small memory buffer and then the buffer is drawed as a bitmap this
is more fast then drawing pixels
- 2 new examples: FSF and the text viewer
- Now all SV is idstrivuted as a simgle file. It is consing me too much
space on my site. sorry
- There is a bug when runing Windows 2000: SVGA unit stuckes the computer
and you are forced to boot up. If anyone knows how to fix it let me know.
I need some help in a few things: for example how to read the mouse wheel
under DOS.
I think a FreePascal
or another free compiler for pascal is needed. I will also help in porting
the GUI to other OS. (any volunteer?).
Bugs
- On Windows 2000 (both server and profecional) all SV programs
fail if they run unless the video mode is vm320x200x256 ($13). Need to work
this out. On XP it just does not work, XP does not get stucked.
- When you enter a menu on a movable window, the submenus do not move
but they are keeped on the original place. (See this bug on the SViewer demo)
If you find new bugs please report them to
dgi_il@hotmail.com
.
History:
It started when I wanted to do a picture editor, and I needed a good way
to load file. Instead of just writing the file using some readln, I decided
to write my own open dialog.
It started from small independent windows, and then I saw I needed a menu
system also. So I wrote it... I needed also to write a TApplication
object for that. I needed also a good mouse server (interrupt 0x33 does
not support always a good interface for showing 256 bitmaps as cursors in
SVGA).
Then I wanted it to use Win95 LFN. As they are available also under DOS
now I sited and wrote the code. I wrote some parts of this, and will be
released as soon as I finish them. I am also planning new views to be added
to the SView unit: for example a TABView to be inserted in dialog boxes,
and a textviewer. The text viewer can be found in the new example I am working
on: the text viewer.
It's program structure in very similar to Borland/Emprise Turbo Vision
(r), the TV library in now OpenSource public domain, so there is not a chance
to have any license problems. (The TV license is only for C++ Turbo Vision?
I hope not...)
This version supports:
Graphics
- Full support for 256 MCGA/SVGA. Including clipping .
- Supports for images larger then 64K!
- Palette manipulation for images as well as reissuing procedures.
- Can load and save BMP, PCX, ICO and CEL files.
- Basics drawing primitives (pixel, line, horizontal line, vertical
line box, triangle, circle, polygon with or without filling)
Mouse
- Mouse support for MCGA/SVGA.
- Cursor can be also a .CUR Windows file.
- Can work on interrupt or polling mode.
OOP GUI
- Program and user interface very similar to Turbo-Vision. Easy to learn.
- Full keyboard and mouse supported.
- evKeyDown as well as evKeyUp implemented (soon probably,
on next version).
- Dialog boxes fully implemented. (CheckBoxes, RadioButtons, InputLine,
Text lists, DropDown lists, Press buttons, Static texts etc...)
- Menu-bar (keyboard and mouse).
Demo programs
SVPE: SV pictures editor
A small program for editing many pictures at the same time. You can save
them in a native format, or export each picture into a well known format
( BMP, PCX, ICO, CUR). You can also import into the program pictures
and save them in the same file.
The program has also a built in palette editor. It works on 6 Bit 256 palette
and has some nice functions (ramp, ping pong, RGB).
This program also can edit the small ICONS in IE5 (the animating
world) so you can put it in your own IE5 icon.
SVFE: Bitamp Font Editor
With this program you edit 8x8 and 8x16 bitmap fonts for using in the
SV programs you make and also change the DOS font. (a small program that does
it is supplied). You can save the fonts even as a PAS unit.
PicView: picture viewer
This small program is a command line utility for viewing all the supported
images by SV. It supports some SVGA resolutions as well MCGA. Also can display
on the screen all the VESA information available on the computer.
In the future it will be like ACDSEE. I hope.... ;-)
Pas2HTM: A converter between PAS files and HTML
This command line tool takes a normal PAS file from TP7 and writes
a HTML file with syntax hightailing. It can do most of the things it should
do. It need to support for user comments.
Text Viewer
This program demostrates how to build a nice file viewer. It is showed
as a floating window on top of DOS, and can serve as a small demo of how
to imitate text modes under graphics modes. The text mode displayed is saved
into a small buffer, and the displayed is set to 640x400 graphic mode. The
text screen then printed as normal string using the know procedures, and
a normal window is opened on top. It will look as a graphic window and a
graphic mouse are runing on text mode. This example needs a lot of work until
it will be finished but in the end it will grow into a full textedito in
graphic mode.
FSF - Free Spread Shit
This is shit ware for anyone who is asking, It is sopposed to
be a DOS open-source project for making a spread sheet under DOS. It demostrates
how to make a table view (could be inserted into the main SViews unit some
day). This demo is GPL. (I dont like the virus affect of it, I like better
my license, but thats life).
Click
here
to view the documentation about this project.
[Download SV]
[SV previous]
[Back]