Yeah, I know, I know. ☺
Today has been working on improving the UI and some visual fluff.
The main things can be demonstrated by this screenshot.
Do you see that dashed line around the check box option? Well, if you click on something or press
Tab, a dashed line will appear either around the object clicked upon, or the first editable one (if there is one).
What you can do depends upon the object type:
- Check box: pressing
Space will toggle the state of the check.
- Radio choice: you can press
Right to choose a different option.
- String: no special behaviour; when selected the caret is placed at the end.
- Selection choice: you can press
Down to choose a new option from the list. Doing so while holding
Shift will jump ten options, and holding
Ctrl instead will jump directly to the first or last entries in the list.
Tab at any point will highlight the next highlightable object (something you can change). If there are no more, the highlight will be cleared. Pressing
Tab again will resume from the top of the dialogue.
There is no mechanism to highlight the buttons at the bottom, as
Enter will always behave as if the Primary (blue) button had been clicked upon (except when it's doing string input), and
Escape will always behave as if the Secondary (greenish) button had been clicked upon even if it isn't visible on-screen (this is why this button is almost always a "Cancel" action).
This means that it should be possible to control SimpleSeq without the use of a mouse, for those who find it's faster to use the keyboard rather than switching mental contexts between keys and mouse.
Having done this, the UI is not far off Windows 2, as demonstrated by this window screenshot.
After a lot of fiddling, I managed to get Windows 2.03 (not the /386 build) to install and run on DOSbox. I didn't have any luck with Windows 1.01, the installer just kept either going in circles asking me where to install to, or hanging with a blank screen at the point where it would likely be probing to work out the system config. You know something is ancient if DOSbox confuses it!
You've probably also noticed the other visual changes. Rounded tops to the windows (whoo!) and ever so slight rounding to the buttons.
After thinking about it a while, I decided the simplest way to deal with the title bar rounding was to draw the title bar half-height, then plot the title bar inset on both sides, so I can finish it off by plotting two circles.
In this diagram, you can see the window border (magenta) is drawn, followed by an inner border to make it thicker (blue). Then a half-height section of title bar is drawn (mid green). Over that, a full height but inset title bar is drawn (red). Then to complete the rounded effect, two small circles are drawn at each side (green).
All of this is normally drawn in blue, so it overlaps correctly.
As for the buttons, it was dead simple. Just draw a rectangle, then knock out the corner pixels back to the bsckground colour
No, the dialogues won't be made moveable. It's a dialogue manager, not a window manager. ☺
Oh, and to help with accuracy, you no longer need to aim for the radio button or the check box. Clicking on the associated text will also work now.
Okay then. That's going to be it for a while I think. I've run out of things to add/tweak with SimpleSeq unless I have a specific need for a new feature or a bug that needs fixed.
But, yeah, I rather recall saying something like this before. Let's see how long until v0.16...
Until then, here's v0.15!
Here's the download:
Crazy cat lady
I was looking at the Playmobil on-line catalogue to see if there was an interesting advent calendar. Short answer: no.
Longer answer, it's either knights or something that's not interesting, or a lot of pink something to do with... what was it, an ice princess? Okay, the snowman that looked like it was made of marshmallow was amusing, but...
They have also introduced a building site portapotty. Um... <shrug>
Then I saw the crazy cat lady. But, Playmobil. Postage charges, and UPS that won't leave it in the letterbox and all that bull<beep>.
So, over to Amazon. Same price. Free postage. Will be here tomorrow courtesy of the regular postie.
Of course I did...
Speaking of cats, time to feed mine again, brew myself a nice bowl of linguine, and then spend an hour looking at the list of options on Netflix before heading to bed without having watched anything. ☺
Please note that while I check this page every so often, I am not able to control what users write; therefore I disclaim all liability for unpleasant and/or infringing and/or defamatory material. Undesired content will be removed as soon as it is noticed. By leaving a comment, you agree not to post material that is illegal or in bad taste, and you should be aware that the time and your IP address are both recorded, should it be necessary to find out who you are. Oh, and don't bother trying to inline HTML. I'm not that stupid! ☺ ADDING COMMENTS DOES NOT WORK IF READING TRANSLATED VERSIONS.
You can now follow comment additions with the comment RSS feed. This is distinct from the b.log RSS feed, so you can subscribe to one or both as you wish.
|Rick, 17th October 2023, 21:11|
Hahaha... I've just had my filetype allocation come through. So a version 0.16 is obligatory. 😂
Though I might give it a few days and do other stuff. 😉
If you want to patch it into !Boot / !Run yourself before the update arrives, it is type &1EF "SimplSeq".
(Felicity? Marte? Find out!)
- I survived - really, How the videos were made, SimpleSeq v0.19. (2023/12/02)
- I survived!, Afterwards, Fast food from a machine. (2023/11/28)
- SimpleSeq v0.18. (2023/11/26)
- Winter is coming, Christmas cards, Torygraph purchase, A foreigner's guide to mainstream British newspapers, Redmi Note 12 Pro low light photos, The creeping tentacles, Domestic stuff. (2023/11/25)
- Inside a USB DVD player. (2023/11/23)
List all b.log entries
Return to the site index
PS: Don't try to be clever.
It's a simple substring match.
Last read at 15:01 on 2023/12/04.
© 2023 Rick Murray
This web page is licenced for your personal, private, non-commercial use only. No automated processing by advertising systems is permitted.
RIPA notice: No consent is given for interception of page transmission.