Oxygen Basic
Information => Introducing Oxygen => Topic started by: Charles Pegge on October 27, 2010, 06:27:26 AM
-
This is a demo of the Opengl text control I've been working on. To see the listing modes in action press number keys 4 or 5. I'd be interested to know if this works smoothly on your PCs.
Notes
12:13 27/10/2010
Charles Pegge
DEMO:
Work in progress to develop Opengl Controls including text navigation,
editing, and to give OxygenBasic a thorough workout!
-------------
Viewing Modes
=============
Main Keyboard numbers 2..6
==========================
2 wire frame orthogonal view
3 shaded 3d view
4 Four viewports combining orthogonal and perspective
5 Listing
6 Combined Listing with Perspective view of object
Other active keys:
'-----------------
Space: toggles object rotation
+ enlarge object
- reduce object
left arrow rotate y axis clockwise
right arrow rotate y axis anticlockwise
up arrow rotate x axis
down arrow rotate x axis
Home Move left
End Move right
Pg Up Move Up
Pg Down Move down
F2 Reset position of object
Mouse
=====
Moving with:
Left Button Down Rotate Object
when 'M' key is also held down the Object can also be moved in X and Y directions
'--------
List Mode
'========
Scrolling zones:
'---------------
Using the mouse:
UP Top Left
DOWN Bottom Left
LEFT mid left
RIGHT mid right
When Left button is held down:
Highlight select word and character
Left button double click
The selected word is highlighted and any other occurence of the character
pattern is also highlighted throughout the listing.
The Window may be freely resized
I'm using a proto version of Alpha019 so I advise confining it to this demo.
Charles
[attachment deleted by admin]
-
1.) The scrolling is slower than on "normal" editor controls (cpu=P4-3GHz).
2.) Also when resizing the window the text resizes as well - it's proportional to the window size.
3.) When another window with the focus overlaps this one and the fucus goes back to this one (with clicking on the title bar) the blue screen is not redrawn until the mouse is inside the client area.
bye
efgee
-
It's difficult for me to compare speed as this a high end i7 machine but all looks and works fine here.
James
-
Ran smoothly here on almost 5 year old amd dual core 4600, video card nvidia 8800 gt
-
Thank you all.
I think I've resolved some of the focus problems and am in the process of releasing the Lister from its Viewport moorings so it becomes a movable control on the screen with well defined boundaries.
To make it practical as a coding tool, I've also been tryiing out a few monospaced fonts. "Lucida Console" seems to be the cleanest so far. Any preferences?
The scrolling speed is independent of processor speed since everything is synchronised to a timer event. To change the scrolling speed only the y step is altered.
Charles
-
To make it practical as a coding tool, I've also been tryiing out a few monospaced fonts. "Lucida Console" seems to be the cleanest so far. Any preferences?
Courier New