|
|
@174be87
|
3 years |
jiri |
Prevent using button after free
When a button is released (after …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0415776
|
3 years |
jiri |
Prevent use after free when destroying window
Cannot access window …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8b22d44
|
3 years |
jiri |
Scrollbar buttons should not depress in text mode
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ea9024d7
|
3 years |
jiri |
window→rect needs to be kept up to date
This caused an error if …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@35cffea
|
3 years |
jiri |
Maximizing/unmaximizing a window
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@86fff971
|
3 years |
jiri |
'X' does not mark the spot
Stop misusing 'X' character as a cross …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d68239a1
|
3 years |
jiri |
Scrollbar needs custom button decorations
Push button now allows …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d1d0ea
|
3 years |
jiri |
Routine to fill rectangle with character
Use it to simplify scrollbar …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ca7215
|
3 years |
jiri |
Vertical scrollbar orientation
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8965860c
|
3 years |
jiri |
Clickmatic
A class that periodically generates when held, after …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d4ea1f6
|
3 years |
jiri |
Scroll as soon as scroll button is pressed
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1026cc4
|
3 years |
jiri |
Clicking scrollbar through to generate page up / page down
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ef85c0
|
3 years |
jiri |
Scrollbar unit tests
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@71edd430
|
3 years |
jiri |
Press-leave-release should not activate menu entry
Thx: unit test
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0eca788
|
3 years |
jiri |
Slider does not have a caption
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd16113
|
3 years |
jiri |
Scrollbar (WIP)
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b3b48f4
|
3 years |
jiri |
Use Alt-key accelerators to open menus
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b987eb4
|
3 years |
jiri |
Translate keys to characters even if modifiers are pressed.
So that …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c88d7f99
|
3 years |
jiri |
Menu entry accelerators
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96c6a00
|
3 years |
jiri |
Menu accelerators
Open a menu by pressing F10, then accelerator key …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ca2680d
|
3 years |
jiri |
Rendering UI text with highlighted accelerators
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4583015
|
3 years |
jiri |
Add font to gfx_text_fmt_t
This is quite logical and saves us one …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bfc0fc6
|
4 years |
jiri |
ui_menu_bar_left/right() must not switch to the same menu
If there is …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5de852c
|
4 years |
jiri |
Coordinate keyboard event delivery between application and UI …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@59768c7
|
4 years |
jiri |
Menu control using F10, cursor keys, Enter, Escape
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5d20a3
|
4 years |
jiri |
Fix vertical label alignment
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3e64f6
|
4 years |
jiri |
Pause before resuming UI, if needed
To be able to see output of …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@552b69f
|
4 years |
jiri |
Dual-mode applications should automatically fall back to console
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b48e680f
|
4 years |
jiri |
Allow console application to set the terminal window caption
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8edec53
|
4 years |
jiri |
Support double-click
Needed to open Navigator entries using the mouse.
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c632c96
|
4 years |
5887334+jxsvoboda |
Unmap and clear console before executing a binary
Fixes running edit, …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3d10a2f
|
4 years |
jiri |
Null display spec for the benefit of unit testing
When testing …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6d172f6
|
4 years |
jiri |
Fix window destruction with dummy output
In unit tests when we tried …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9bf5da6f
|
4 years |
jiri |
Remove accidentally left over debugging code
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e0cf963
|
4 years |
jiri |
Set initial entry text for prompt and file dialog
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c0766b
|
4 years |
jiri |
Confirm / cancel file and prompt dialogs using Enter / Escape
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a7a8f599
|
4 years |
jiri |
Activate text entry in file / prompt dialog
So the user can …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@294fc3cc
|
4 years |
jiri |
Make editor window non-decorated and full-screen
Need to enhance …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be869b0
|
4 years |
jiri |
Basic rendering of pane text
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6df564c
|
4 years |
jiri |
Custom colors for selected text in text entry
In text mode, swapping …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@80d4aea
|
4 years |
jiri |
Prompt dialog
Stock dialog window that requests the user to enter a …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ce56a6
|
4 years |
jiri |
Translate window rendering in console/SSR with translation GC
In …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a0aeb8f
|
4 years |
jiri |
Fix broken T-shirt slogan
Need to make sure "# hello -d cons@" works well
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7896f23
|
4 years |
jiri |
Do not delete window→gc when destroying window
In all cases this is …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3c3657c
|
4 years |
jiri |
Correctly position windows in fullscreen mode (only works with CSR)
…
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@400a16d
|
4 years |
jiri |
Clarify right/bottom-aligned text position and fix off-by-ones
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ebcb791
|
4 years |
jiri |
Fill text UI background with color
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45004f3
|
4 years |
jiri |
Text-style window title bar
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81ec7e1
|
4 years |
jiri |
Brace for a text mode menu separator entry
Pun intended.
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ff6e91b
|
4 years |
jiri |
Make use of code page 437 characters
To draw proper text boxes, for a …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bc52b5b
|
4 years |
jiri |
Allow the use of EGA attributes/24-bit characters alongside RGB
In a …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@943f032
|
4 years |
jiri |
Slider text mode
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce0a5af
|
4 years |
jiri |
Do not even initialize twice
It's a good idea to think twice before …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@320abf3
|
4 years |
jiri |
Do not set alignment twice
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@297b1b3
|
4 years |
jiri |
Radio button text mode
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@307d4d2
|
4 years |
jiri |
Check box text mode
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e109e1
|
4 years |
jiri |
File dialog prototype
This only contains a text entry for entering …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba74416
|
4 years |
jiri |
I said cursor width should not be taken into account
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dbb42c9
|
4 years |
jiri |
Scroll entry text when it is long
Whew! This is so much harder than …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5de71df
|
4 years |
jiri |
Demonstrate entry alignment and read-only flag
We already have radio …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a106037
|
4 years |
jiri |
Selecting entry text by shift-click
You can never have enough ways of …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@282c86d
|
4 years |
jiri |
Selecting entry text by dragging the mouse
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9722c1
|
4 years |
jiri |
Cut, copy and paste entry text
Using Ctrl-X, Ctrl-C and Ctrl-V.
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9eb8d12
|
4 years |
jiri |
Entry text selection (using keyboard)
Text can be selected with …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d63623f
|
4 years |
jiri |
Seeking in entry text using mouse
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61bf9dd9
|
4 years |
jiri |
Seeking in entry text (using keyboard)
Seek using Home, End, Left …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1215db9
|
4 years |
jiri |
Memory GC needs to be able to forward cursor control
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bb14312
|
4 years |
jiri |
Use hardware cursor in text mode
We extend GC with cursor control …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f5819ca1
|
4 years |
jiri |
Add missing docblock
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@65ec18d
|
4 years |
jiri |
Draw text cursor as a vertical bar
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7481ee19
|
4 years |
jiri |
Basic editable text entry
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db3895d
|
4 years |
jiri |
Set cursor shape to I-beam when hovering over text entry
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@90f1f19
|
4 years |
5887334+jxsvoboda |
Allow setting initial window position (instead of moving the window)
…
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d7f82635
|
4 years |
5887334+jxsvoboda |
Deliver close event to popup window when appropriate
That is, when …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9e84d2c
|
4 years |
5887334+jxsvoboda |
Popup windows event delivery is special
Popup windows don't get …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9927c66
|
4 years |
5887334+jxsvoboda |
Set menu popup position based on parent window position
Added a …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c68c18b9
|
4 years |
5887334+jxsvoboda |
Specify parent window when creating popup
This will be used in …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3c8c580
|
4 years |
5887334+jxsvoboda |
Open menu in separate popup window (WIP)
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7470d97
|
4 years |
jiri |
Add GC operation to set clipping rectangle
The number of changed …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@252d03c
|
4 years |
jiri |
Popping up a message, in text mode as well
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@de227aba
|
4 years |
jiri |
Message dialog class
This simplifies the task of creating as simple …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6186f9f
|
4 years |
jiri |
Add menu separator entry
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b8b64a8
|
4 years |
jiri |
Add column with keyboard shortcuts to menu
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95a9cbc
|
4 years |
5887334+jxsvoboda |
UI menu unit tests
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4d2a4cd
|
4 years |
5887334+jxsvoboda |
Correct menu entry height
Fixes menu entry not being clickable in …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f0ccb2ab
|
4 years |
5887334+jxsvoboda |
Fix libui unit tests
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f536a16
|
4 years |
5887334+jxsvoboda |
Close menu when button is pressed outside of it
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f251883
|
4 years |
5887334+jxsvoboda |
Menu entries need to stretch to the width of the menu
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@62223ec
|
4 years |
5887334+jxsvoboda |
Close menu when window is unfocused
This of course means we need to …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0262f16c
|
4 years |
5887334+jxsvoboda |
Activate menu entry by clicking (instead of simple press)
This allows …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@214aefb
|
4 years |
5887334+jxsvoboda |
UI menu (WIP)
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a85d5c6
|
4 years |
jiri |
Fix window resize when not using window double-buffer
We can only …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6c4d40
|
4 years |
jiri |
Do not forget to clean up when exiting
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@87822ce
|
4 years |
jiri |
Avoid infinite loop when console communication is broken
Need to make …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@760a392
|
4 years |
jiri |
Fix ccheck
Be vigilant!
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cd74fa8
|
4 years |
jiri |
Downsize more controls to make calculator look better
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9c7dc8e
|
4 years |
jiri |
Print text as text in textmode UI. Make calculator smaller in text mode.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@77ffa01
|
4 years |
jiri |
Allow UI to run in the console
Note that everything is way too large.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b433f68
|
4 years |
jiri |
Puttext needs to know the color of the text being printed
So far we …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ab8ab3
|
4 years |
jiri |
Client-side UI rendering
It is possible to turn on and off and if …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|