Rejig the Toolbar

Updates on the progress of this project
Post Reply
User avatar
richmond62
Posts: 2776
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Rejig the Toolbar

Post by richmond62 »

For those not convinced by 'dark mode':
-
Screen Shot 2023-09-21 at 13.50.27.png
Screen Shot 2023-09-21 at 13.50.27.png (1.11 MiB) Viewed 3316 times
-
Attachments
Tooler.livecode.zip
(135.79 KiB) Downloaded 105 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 2776
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Rejig the Toolbar

Post by richmond62 »

And we can do the same sort of thing with the 'revMenuBar' stack:
-
Screen Shot 2023-09-21 at 14.09.08.png
Screen Shot 2023-09-21 at 14.09.08.png (299.5 KiB) Viewed 3311 times
-
Attachments
MenuBar Pimper.livecode.zip
(40.67 KiB) Downloaded 96 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 2776
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Rejig the Toolbar

Post by richmond62 »

BUT . . . owing in series 9 at least, these stacks are generated from script-only stacks, these settings will NOT stick between sessions.
https://richmondmathewson.owlstown.net/
User avatar
OpenXTalkPaul
Posts: 1574
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: Rejig the Toolbar

Post by OpenXTalkPaul »

richmond62 wrote: Thu Sep 21, 2023 11:16 am BUT . . . owing in series 9 at least, these stacks are generated from script-only stacks, these settings will NOT stick between sessions.
Exactly, it's GUI is built on-the-fly and is meant to be dynamically changeable.

The dark mode scripts I added to the 'Home' (script only) stack that manages the IDE startup stuff, however I think it should be in an darkMode or general IDE theming library (script extension) that gets initialized by Home just like all the other libraries that make up the IDEs core. Adding it to Home was just more convenient when I was first testing and when I was building the Extension Builder part (which handles the macOS native darkMode stuff).
If you look at that OXT macOS Native App Tools library in the dictionary, you'll see simple syntax it uses. It actually has other commands for setting individual windows to light or dark window frames by passing the window ID of a stack.

OXT macOS Native App Tools library has a bunch of other macOS tricks too, like the ability to set the apps Dock image and Badge text, and the ability to set (or get) an icon image for any file or folder, and more!
User avatar
tperry2x
Posts: 1538
Joined: Tue Dec 21, 2021 9:10 pm
Location: Britain (Previously known as Great Britain)
Contact:

Re: Rejig the Toolbar

Post by tperry2x »

I know opinions are like A*holes: Eveybody has one...

but,

Don't like the 'minty' or pastel colours for the IDE. I think it should really be limited to whatever the rest of the OS is doing.
If someone wants to theme their interface with 'mint icecream' scheme, that's fine and is up to them - OXT should pick up on that using whatever native colour scheme is chosen.

In my opinion... 8-)
User avatar
richmond62
Posts: 2776
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Rejig the Toolbar

Post by richmond62 »

Well: more proof of concept than anything else: this modifies the .livecodescript files in the Mac app package:
-
Screen Shot 2023-09-21 at 19.42.43.png
Screen Shot 2023-09-21 at 19.42.43.png (692.47 KiB) Viewed 3284 times
-
And, yeah: I use black liquorice toothpaste. 8-)
Attachments
scriptHacker.livecode.zip
(147.87 KiB) Downloaded 99 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 2776
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Rejig the Toolbar

Post by richmond62 »

Don't like the 'minty' or pastel colours for the IDE.
Well, chacun à son gôut my old fruitcake. 8-)

Now that I know how to use Stacks to permanently patch .livecodescript files and so forth expect an efflorensce of choices: even to the extent of
dark purple, dark blue, dark green and so on complete with suitably contrasted icons . . .

I am ALL for choice.
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 1538
Joined: Tue Dec 21, 2021 9:10 pm
Location: Britain (Previously known as Great Britain)
Contact:

Re: Rejig the Toolbar

Post by tperry2x »

Absolutely, each to their own.
Here's a completely "out there" suggestion, but...
Hold you on bor.

Why not have colour theme files that are selectable from a drop-down menu in the preferences.
If someone wants mauve backgrounds and yellow text, they can choose from a scheme and it'll theme everything after restarting the IDE.

I'm all for choice, and user customisation.

I do hope with all this, we aren't just papering over the cracks?
Was thinking about this today.

Even without an arm engine, given the fact that you can buy a top-spec pc with a 64 bit Intel or AMD chip, should we only be concerned when the norm becomes arm chips as default?
User avatar
richmond62
Posts: 2776
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Rejig the Toolbar

Post by richmond62 »

Wow: it's wonderful what a second cup of coffee can do . . .
-
Screen Shot 2023-09-22 at 13.36.07.png
Screen Shot 2023-09-22 at 13.36.07.png (183.27 KiB) Viewed 3246 times
-
New version lets one REVERT to 'plain vanilla'.
Attachments
scriptHacker.livecode.zip
(217.11 KiB) Downloaded 98 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 2776
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Rejig the Toolbar

Post by richmond62 »

And here we go with icon replacement . . .

[Please note that icon sets are stored in substacks]:
-
Screen Shot 2023-09-22 at 13.49.48.png
Screen Shot 2023-09-22 at 13.49.48.png (1.43 MiB) Viewed 3245 times
-
This is ONLY workable for the Macintosh version of LC right now.

Of course, twiddling file paths can make it work with the various, competing versions of OXT, and for Windows and Linux versions of everything.
Attachments
ToolBar Icons.livecode.zip
(440.7 KiB) Downloaded 101 times
https://richmondmathewson.owlstown.net/
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests