FellippeHeitor
2de37eb062
Minor adjustments to TextBox control rendering.
2016-10-07 20:56:12 -03:00
FellippeHeitor
92f0e8ee61
New control: MenuBar. Also:
...
- Improved theming engine (control image placement).
2016-10-07 20:52:12 -03:00
FellippeHeitor
8f482f98af
New theme: XP. Also:
...
- Font set for the main form is inherited by new controls.
- All control images are now converted to hardware images.
- Replaced "Enabled" with "Disabled" for control properties (new control properties always default to __UI_False)
- Removed calls to _MOUSESHOW in Linux, for increased stability.
2016-10-06 07:18:16 -03:00
FellippeHeitor
922399be93
New __UI_KeyPress event. Also:
...
- Rewritten drawing routines: every control is now contained in a separate image, so that it only gets redrawn when needed.
2016-10-04 03:53:22 -03:00
FellippeHeitor
7a45de0418
Add Dropdown lists. Also:
...
- Exposes MessageBox from libqb.cpp (QB64's internal declaration/implementation; uses Windows API or an emulated alternative under Linux/macOS)
- Scrollbar accepts clicks on the "track".
- Adds a __UI_DoEvents routine that is triggered in the main loop and can also be added to user loops, in order to allow events to keep being triggered.
- Visuall indicates that something is hogging the input routine (when programmer has a DO: LOOP and forgets the add __UI_DoEvents)
- ListBoxes can be searched by typing item names.
2016-10-02 00:54:57 -03:00
FellippeHeitor
422f85ebac
Fixed scrollbar thumb dragging behavior.
2016-10-02 00:48:56 -03:00
FellippeHeitor
9941f19607
Hover detection moved to ProcessInput sub. Also:
...
- Improved response to scrollbar buttons.
- Independent scrollbars removed.
2016-10-02 00:47:57 -03:00
FellippeHeitor
2358b9217b
Improved behavior of controls.
2016-10-02 00:45:01 -03:00
FellippeHeitor
cbe1f1d4a5
Add vertical scrollbar to ListBox when needed. Also:
...
- Independent vertical scrollbar.
2016-10-02 00:44:08 -03:00
FellippeHeitor
e59858fb92
Fixed lag when text longer than label width is displayed (ClipText$)
2016-10-02 00:42:31 -03:00
FellippeHeitor
a19eabbb50
Attempt to reduce lag when text is selected. Also:
...
- New "text" mouse icon for textboxes.
2016-10-02 00:41:45 -03:00
FellippeHeitor
e151df8d26
Containers are drawn in a separate image (allows clipping). Also:
...
- Right click to delete listbox items (for testing the delete routine)
- Improved progressbar drawing.
2016-10-02 00:40:46 -03:00
FellippeHeitor
89ad8b1efa
Improved input processing for listboxes.
2016-10-02 00:38:33 -03:00
FellippeHeitor
61cfd8fade
New Listbox control. Also:
...
- New ProgressBar control.
2016-10-02 00:37:41 -03:00
FellippeHeitor
45b013057b
Improved text selection (textbox).
2016-10-02 00:36:31 -03:00
FellippeHeitor
80c9f9e9f7
Initial textbox development. Also:
...
- Frame container.
- Radio buttons.
- Check boxes
- New events (BeforeUpdateDisplay, BeforeUnload, OnLoad, BeginDrag, EndDrag
- __UI_Darken& function (_RGB32 intensity manipulator)
- Improved rounded rectangles.
- Improved event dispatcher routine.
- Improved textbox behavior.
2016-10-02 00:35:40 -03:00
FellippeHeitor
98cc8a1a7b
Add CanDrag property to controls. Also:
...
- Use glutSetCursor to indicate a draggable control.
2016-10-02 00:31:09 -03:00
FellippeHeitor
2ecad85811
Attempt with TTF fonts.
2016-10-02 00:29:24 -03:00
FellippeHeitor
072d8ded04
Basic UI structure. Initial commit.
2016-10-02 00:27:10 -03:00