Page 1 of 2
Simple Simon
Posted: Thu May 19, 2016 9:44 pm
by richmond62
- newTools.png (9.14 KiB) Viewed 15934 times
Warning: the "Open" button is non-functional at the moment.
The "save" button doesn't work properly.
Your revTools and revMenubar stacks will vanish.
Don't panic: they will be restored next time you start Livecode.
This works only with
Livecode 8.0.0 and up.
Re: Simple Simon
Posted: Thu May 19, 2016 10:01 pm
by richmond62
- Hypercard 2.4 Tool Palette
- Toolz.png (6.53 KiB) Viewed 15925 times
- Metacard 2.5 Tool Palette
- Metacard.png (7.3 KiB) Viewed 15925 times
"Just for fun" here are pictures of the palettes that I got my idea from.
Re: Simple Simon
Posted: Fri May 20, 2016 8:15 am
by richmond62
Here's a version that does palettise and does create buttons and fields on a new stack (just as long as it's called "New Stack")
instead of on the tool palette.
Re: Simple Simon
Posted: Fri May 20, 2016 4:16 pm
by richmond62
"
Open" button now works, "
Import Image" button added [and it works!], "
Save" button still proving a problem.
- newT.png (11.67 KiB) Viewed 15806 times
Re: Simple Simon
Posted: Fri May 20, 2016 8:09 pm
by richmond62
'
Open' button, '
Save' button now work.
New stack defaults to 600 x 500 pixels.
Re: Simple Simon
Posted: Fri May 20, 2016 8:24 pm
by richmond62
With the exception of the 'New Stack' and the Import Image' I have used Metacard icons that are, still, oddly enough, available in Livecode 8.0.1.
I cannot say they "thrill my gorilla" that much, so will be on the lookout for some that seem a bit more contemp.
However, at the moment my main concern is functionality; aesthetic stuff can wait.
I have lined up a series of icons for the buttons that are similar to the black ones used in Livecode 8.0, but, frankly, I don't like them very much.
I could, however, easily make a variant version with these if there were demand.
Re: Simple Simon
Posted: Fri May 20, 2016 8:31 pm
by Peter Bogdanoff
Richmond,
Saving the stack: before the stack is saved to disk, name the stack itself--
Code: Select all
set the name of stack "New Stack" to it
set the label of stack "New Stack" to it
set the filename of stack "New Stack" to (it & ".rev")
Also, you can used the "defaultStack" property when using the tool palette so that any action is done on the topmost stack:
Code: Select all
set the defaultStack to the topStack
Now you don't have to refer to the user's stack by name
Re: Simple Simon
Posted: Fri May 20, 2016 8:33 pm
by richmond62
That's a great help: Thanks so much.
I implemented your suggestions almost instantly.
Re: Simple Simon
Posted: Fri May 27, 2016 5:09 pm
by richmond62
I tried out my "newTools" stack today on a 32-bit Linux computer and got a bit of a shock as all the buttons were speckly:
- old.png (27.8 KiB) Viewed 15619 times
So, I rejigged the buttons so they look as they do on 64-bit Linux on 32-bit Linux:
- new.png (19.37 KiB) Viewed 15619 times
Re: Simple Simon
Posted: Fri May 27, 2016 5:11 pm
by richmond62
I had a long lunch break today, and did this:
- lateral.png (10.49 KiB) Viewed 15619 times
for anyone who prefers this over the other version.
Re: Simple Simon
Posted: Sun May 29, 2016 8:22 pm
by richmond62
So; update time: new versions of the
ORIGINAL and the
LATERAL palettes (
SAVE button now working),
and an
EXTENDED palette allowing one to mess around with
TEXT in a
FIELD in
BROWSE mode.
Re: Simple Simon
Posted: Sun May 29, 2016 8:23 pm
by richmond62
As mentioned above.
Re: Simple Simon
Posted: Sun May 29, 2016 8:34 pm
by richmond62
I'm just starting to experiment with onboard controls that can be dimmed/hidden in certain states:
this might take me towards a situation where I will disable Livecode's underlying
Property Palette.
Re: Simple Simon
Posted: Mon May 30, 2016 8:47 pm
by richmond62
Those lunch breaks are beginning to tell:
I'm sorry about the "bare" areas, but they will be filled in with more stuff as I get to it.
Re: Simple Simon
Posted: Wed Oct 18, 2017 4:37 pm
by bogs
Wow am I late to the game. Very nice job Richmond62, did you get any farther with it, or is it considered done? It does work pretty smoothly
As I played with it, I did have a few questions and, possibly, suggestions.
- How does one bring up the dictionary? On Linux, hit F1, nothing, and I don't see a button mapped to it.
- What is the [text box |apply] area for? I can type commands, dictionary entries, etc, but hitting apply seems to do nothing with either.
Everything else presented seems logical and self explanatory, as far as it goes, in playing around with it I found the stack could be resized, showing the images used, or eliminating parts of it you didn't want to look at.
- Main bar resizeable...
I actually think this could be useful in a way as a replacement to the backdrop feature, but not sure how it could be implemented. One of the issues I see with the current backdrop feature is that you can't put any limits on it, if you turn it on, it covers the entire desktop, off it covers nothing.
I know you *can* set min/max width/height on a stack, so I would guess it could be pretty easy to set the stack to be whatever size your user wants it. The part I am guessing would be more difficult (but not unsolvable) would be segregating the controls from the bottom portion. I am guessing a group would be the simplest way to approach this, the question would be whether to put the tools in the group, or the expanded area of the stack and resizing the group overlay there.
All in all, very nice though, quick and responsive here.