Page 1 of 1

Rejig the Toolbar

Posted: Thu Sep 21, 2023 10:52 am
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 4109 times
-

Re: Rejig the Toolbar

Posted: Thu Sep 21, 2023 11:13 am
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 4104 times
-

Re: Rejig the Toolbar

Posted: Thu Sep 21, 2023 11:16 am
by richmond62
BUT . . . owing in series 9 at least, these stacks are generated from script-only stacks, these settings will NOT stick between sessions.

Re: Rejig the Toolbar

Posted: Thu Sep 21, 2023 3:32 pm
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!

Re: Rejig the Toolbar

Posted: Thu Sep 21, 2023 4:31 pm
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-)

Re: Rejig the Toolbar

Posted: Thu Sep 21, 2023 4:46 pm
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 4077 times
-
And, yeah: I use black liquorice toothpaste. 8-)

Re: Rejig the Toolbar

Posted: Thu Sep 21, 2023 7:12 pm
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.

Re: Rejig the Toolbar

Posted: Thu Sep 21, 2023 7:28 pm
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?

Re: Rejig the Toolbar

Posted: Fri Sep 22, 2023 10:37 am
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 4039 times
-
New version lets one REVERT to 'plain vanilla'.

Re: Rejig the Toolbar

Posted: Fri Sep 22, 2023 10:52 am
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 4038 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.