OXT Lite Moving Forward

A place to discuss and plan OpenSource xTalk (not exclusively LCC based)
and Community Builds of LCC ...Ask NOT what xTalk can do for you...
Get involved you DO have something to contribute, no matter your skillset!

Forum rules
A place to discuss and plan OpenSource xTalk (not exclusively LCC based) and Community Builds of LCC
Ask NOT what xTalk can do for you... get involved you DO have something to contribute, no matter your skillset!
User avatar
tperry2x
Posts: 1934
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: OXT Lite Moving Forward

Post by tperry2x »

fixed.png
fixed.png (10.18 KiB) Viewed 6579 times
Fixed. Added the word 'Information' to line 9 of the button.
User avatar
richmond62
Posts: 3205
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: OXT Lite Moving Forward

Post by richmond62 »

And, what doth the word 'information' effect, forbye?
https://richmondmathewson.owlstown.net/
User avatar
OpenXTalkPaul
Posts: 1866
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: OXT Lite Moving Forward

Post by OpenXTalkPaul »

richmond62 wrote: Thu Nov 30, 2023 7:14 pm And, what doth the word 'information' effect, forbye?
It effects which icon is used in the 'Answer' dialog box, should yield an exclamation symbol icon.
User avatar
tperry2x
Posts: 1934
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: OXT Lite Moving Forward

Post by tperry2x »

I would have liked to replace the "LC" icon completely, but I've been having a root around in the revIcons stack (you'd think this is where it might be logically?)
icons.png
icons.png (143.37 KiB) Viewed 6573 times
edit: found it in revGeneralIcons
Screenshot_2023-11-30_20-52-10.png
Screenshot_2023-11-30_20-52-10.png (366.37 KiB) Viewed 6568 times
The next question is replacing the graphic while keeping the same ID.
Screenshot_2023-11-30_21-01-04.png
Screenshot_2023-11-30_21-01-04.png (19.13 KiB) Viewed 6564 times
(The simpler answer was just to specify "information" and it will display the alternate icon: hopefully the big blue (i) logo on MacOS as shown in that screenshot), but ideally this graphic needs replacing to an OXT one, while retaining the same ID.
User avatar
OpenXTalkPaul
Posts: 1866
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: OXT Lite Moving Forward

Post by OpenXTalkPaul »

tperry2x wrote: Thu Nov 30, 2023 8:45 pm I would have liked to replace the "LC" icon completely, but I've been having a root around in the revIcons stack (you'd think this is where it might be logically?)
icons.png
edit: found it in revGeneralIcons
Screenshot_2023-11-30_20-52-10.png
The next question is replacing the graphic while keeping the same ID.
Screenshot_2023-11-30_21-01-04.png
(The simpler answer was just to specify "information" and it will display the alternate icon: hopefully the big blue (i) logo on MacOS as shown in that screenshot), but ideally this graphic needs replacing to an OXT one, while retaining the same ID.
That is where the IDE icons normally come from. In OXT DPE I replaced them (actually I renumbered them, since they're specified in the IDE (Ask/Answer stacks) by numeric image ID).
User avatar
tperry2x
Posts: 1934
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: OXT Lite Moving Forward

Post by tperry2x »

I'll look at replacing the icon(s), then editing the Ask and Answer dialogs too so they can hopefully be aware of them.
Edit: done
cleared.png
cleared.png (16.82 KiB) Viewed 6469 times
User avatar
richmond62
Posts: 3205
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: OXT Lite Moving Forward

Post by richmond62 »

Of course, our friends, have made it so one cannot do a simple 'import image' into that stack.

I have been mucking around with property insopectors and so forth and cannot work out have to either import or paste into the stack.
-
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 1934
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: OXT Lite Moving Forward

Post by tperry2x »

You can, it would seem you just have to toplevel it first with the App Browser.
All fixed:
dialogs.png
dialogs.png (507 KiB) Viewed 6546 times
So, if the command

Code: Select all

Answer "hi"
...is run, or

Code: Select all

Ask "hi"
...and the user forgets to specify an icontype, then the OXT one is now substituted.

While I was there, I also updated the dialogs for Linux, so they don't use the MacOS 9 icons anymore :D
User avatar
richmond62
Posts: 3205
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: OXT Lite Moving Forward

Post by richmond62 »

Glad you did it as topLevel 'over here' didn't work.

Cannot help thinking a more generic icon might be better:
-
SShot 2023-12-01 at 12.48.42.png
SShot 2023-12-01 at 12.48.42.png (23.24 KiB) Viewed 6541 times
Attachments
OXTERS.livecode.zip
(11.58 KiB) Downloaded 315 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3205
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: OXT Lite Moving Forward

Post by richmond62 »

Wow: talking about ancient history:
-
SShot 2023-12-01 at 12.44.50.png
SShot 2023-12-01 at 12.44.50.png (25.53 KiB) Viewed 6540 times
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 1934
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: OXT Lite Moving Forward

Post by tperry2x »

richmond62 wrote: Fri Dec 01, 2023 10:48 am Cannot help thinking a more generic icon might be better
I think I'll keep it the same as whatever the program's icon is, so as not to confuse people.
It would be better to save that icon for the non-lite version of OXT.

Either way, it gets replaced by the standalone builder, so it's only an icon you'd see inside the IDE.
It makes sense to keep it as a 'lite' version in OXT Lite, and a non-lite version in full-size OXT RCx versions.
User avatar
richmond62
Posts: 3205
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: OXT Lite Moving Forward

Post by richmond62 »

I think that it would be marvellous if end-users could set their own symbols:
-
SShot 2023-12-01 at 15.08.32.png
SShot 2023-12-01 at 15.08.32.png (27.37 KiB) Viewed 6528 times
-
This is the icon from my Devawriter Pro app.
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 1934
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: OXT Lite Moving Forward

Post by tperry2x »

Think I've just found something else...
I've fixed the grid spacing earlier this week, so it now remembers and retains the setting in the preferences properly.
However, just spotted that it doesn't remember if it's turned on or off between launches.

Example, I can turn it on, and verify grid spacing is working:
before.png
before.png (44.69 KiB) Viewed 6528 times
But, quit the IDE and relaunch, and:
after.png
after.png (45.05 KiB) Viewed 6528 times
It's forgotten you turned it on. I assume the expected behaviour is that the IDE should remember if you'd turned on "Grid" from this menu between launches?
User avatar
tperry2x
Posts: 1934
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: OXT Lite Moving Forward

Post by tperry2x »

richmond62 wrote: Fri Dec 01, 2023 1:11 pm I think that it would be marvellous if end-users could set their own symbols:
This wouldn't be too hard I imagine. You'd just need a 64 x 64px image. Although, this would not necessarily come through to the standalone as it'd overwrite it with the gRevAppicon
User avatar
richmond62
Posts: 3205
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: OXT Lite Moving Forward

Post by richmond62 »

Obviously there needs to be some sort of stack saved somewhere that records the end-user's preferences.
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3205
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: OXT Lite Moving Forward

Post by richmond62 »

Although, this would not necessarily come through to the standalone as it'd overwrite it with the gRevAppicon
That is why a few years ago I had to write a lot of 'ask' and 'aswer' palettes myself: in an ideal world that would be an unnecessary time waster.
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 1934
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: OXT Lite Moving Forward

Post by tperry2x »

Yes, exactly. But this is why the end user should specify the icon in their standalone settings, and it'll use that in the standalone.
If in a stack (IDE), you could have a specific name of a graphic that the Ask and Answer dialogs look for. If it exists in the stack, then use that as the icon - otherwise, use the gRevAppIcon from the standalone / IDE.

Then there's no additional coding required, just the presence of a png called "UseThisAsAlertIcon" or something similar.
User avatar
richmond62
Posts: 3205
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: OXT Lite Moving Forward

Post by richmond62 »

the end user should specify the icon in their standalone settings, and it'll use that in the standalone.
Indeed.

But let's just suppose the end user wants a different symbol to be used in their "asks and answers" to the icon they have chosen for their app.
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 1934
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: OXT Lite Moving Forward

Post by tperry2x »

Sorry, I probably wasn't very clear. Please see above. I meant
just the presence of a png called "UseThisAsAlertIcon" or something similar.
Then, if that's in the stack, the Ask and Answer dialogs will be coded to use it. If not, they'll use the default IDE one.
Does that sound like an idea?

In other news, I may just disappear for a few days, as just tested positive for covid and feeling pretty rough. :cry:
User avatar
OpenXTalkPaul
Posts: 1866
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: OXT Lite Moving Forward

Post by OpenXTalkPaul »

richmond62 wrote: Fri Dec 01, 2023 10:48 am Glad you did it as topLevel 'over here' didn't work.

Cannot help thinking a more generic icon might be better:
-
SShot 2023-12-01 at 12.48.42.png
I never really spent very much time working on an Icon, basically I just created a vectorized version of HCs Icon, mostly so I could get on with the de-branding work. I think it might be good to have something more graphically simplistic, symbolic, 1-bit / line-art friendly, like the Nike 'swish' or Apples (current) logo. I did do a little work on few designs in that direction.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests