Simple Simon
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Simple Simon
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.
Last edited by richmond62 on Fri May 20, 2016 8:17 am, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Simple Simon
"Just for fun" here are pictures of the palettes that I got my idea from.
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Simple Simon
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.
instead of on the tool palette.
Last edited by richmond62 on Fri May 20, 2016 4:16 pm, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Simple Simon
"Open" button now works, "Import Image" button added [and it works!], "Save" button still proving a problem.
Last edited by richmond62 on Fri May 20, 2016 8:09 pm, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Simple Simon
'Open' button, 'Save' button now work.
New stack defaults to 600 x 500 pixels.
New stack defaults to 600 x 500 pixels.
Last edited by richmond62 on Fri May 20, 2016 8:37 pm, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Simple Simon
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.
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.
Last edited by richmond62 on Sat May 21, 2016 8:27 pm, edited 1 time in total.
-
- Posts: 3
- Joined: Mon Aug 26, 2013 6:49 pm
Re: Simple Simon
Richmond,
Saving the stack: before the stack is saved to disk, name the stack itself--
Also, you can used the "defaultStack" property when using the tool palette so that any action is done on the topmost stack:
Now you don't have to refer to the user's stack by name
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")
Code: Select all
set the defaultStack to the topStack
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Simple Simon
That's a great help: Thanks so much.
I implemented your suggestions almost instantly.
I implemented your suggestions almost instantly.
Last edited by richmond62 on Fri May 27, 2016 5:09 pm, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Simple Simon
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:
So, I rejigged the buttons so they look as they do on 64-bit Linux on 32-bit Linux:
So, I rejigged the buttons so they look as they do on 64-bit Linux on 32-bit Linux:
Last edited by richmond62 on Sun May 29, 2016 8:24 pm, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Simple Simon
I had a long lunch break today, and did this:
for anyone who prefers this over the other version.
for anyone who prefers this over the other version.
Last edited by richmond62 on Sun May 29, 2016 8:24 pm, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Simple Simon
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.
and an EXTENDED palette allowing one to mess around with TEXT in a FIELD in BROWSE mode.
Last edited by richmond62 on Mon May 30, 2016 8:48 pm, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Simple Simon
As mentioned above.
- Attachments
-
- lateral.zip
- Latest version of the lateral palette.
- (14.27 KiB) Downloaded 468 times
-
- original.zip
- Latest version of the original palette.
- (14.26 KiB) Downloaded 458 times
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Simple Simon
this might take me towards a situation where I will disable Livecode's underlying
Property Palette.
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Simple Simon
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.
I'm sorry about the "bare" areas, but they will be filled in with more stuff as I get to it.
- Attachments
-
- extended.zip
- And so it goes.
- (22.27 KiB) Downloaded 469 times
Re: Simple Simon
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.
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.
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.
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.