Simple Simon

Teaching software development? Using LiveCode to build your curriculum? This is the forum for you.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Simple Simon

Postby richmond62 » Thu May 19, 2016 9:44 pm

newTools.png
newTools.png (9.14 KiB) Viewed 1672 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.
Last edited by richmond62 on Fri May 20, 2016 8:17 am, edited 1 time in total.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Simple Simon

Postby richmond62 » Thu May 19, 2016 10:01 pm

Toolz.png
Hypercard 2.4 Tool Palette
Toolz.png (6.53 KiB) Viewed 1663 times
Metacard.png
Metacard 2.5 Tool Palette
Metacard.png (7.3 KiB) Viewed 1663 times

"Just for fun" here are pictures of the palettes that I got my idea from.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Simple Simon

Postby richmond62 » Fri May 20, 2016 8:15 am

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.

newHope.png
Last edited by richmond62 on Fri May 20, 2016 4:16 pm, edited 1 time in total.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Simple Simon

Postby richmond62 » Fri May 20, 2016 4:16 pm

"Open" button now works, "Import Image" button added [and it works!], "Save" button still proving a problem.

newT.png
newT.png (11.67 KiB) Viewed 1544 times
Last edited by richmond62 on Fri May 20, 2016 8:09 pm, edited 1 time in total.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Simple Simon

Postby richmond62 » Fri May 20, 2016 8:09 pm

'Open' button, 'Save' button now work.

New stack defaults to 600 x 500 pixels.

newT2.png
Last edited by richmond62 on Fri May 20, 2016 8:37 pm, edited 1 time in total.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Simple Simon

Postby richmond62 » Fri May 20, 2016 8:24 pm

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.

MCicons.png


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.

modernIcons.png
Last edited by richmond62 on Sat May 21, 2016 8:27 pm, edited 1 time in total.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Simple Simon

Postby Peter Bogdanoff » Fri May 20, 2016 8:31 pm

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
Peter Bogdanoff
 
Posts: 2
Joined: Mon Aug 26, 2013 6:49 pm

Re: Simple Simon

Postby richmond62 » Fri May 20, 2016 8:33 pm

That's a great help: Thanks so much.

I implemented your suggestions almost instantly.
Last edited by richmond62 on Fri May 27, 2016 5:09 pm, edited 1 time in total.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Simple Simon

Postby richmond62 » Fri May 27, 2016 5:09 pm

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
old.png (27.8 KiB) Viewed 1357 times

So, I rejigged the buttons so they look as they do on 64-bit Linux on 32-bit Linux:

new.png
new.png (19.37 KiB) Viewed 1357 times
Last edited by richmond62 on Sun May 29, 2016 8:24 pm, edited 1 time in total.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Simple Simon

Postby richmond62 » Fri May 27, 2016 5:11 pm

I had a long lunch break today, and did this:

lateral.png
lateral.png (10.49 KiB) Viewed 1357 times

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.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Simple Simon

Postby richmond62 » Sun May 29, 2016 8:22 pm

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.

extended.png
Last edited by richmond62 on Mon May 30, 2016 8:48 pm, edited 1 time in total.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Simple Simon

Postby richmond62 » Sun May 29, 2016 8:23 pm

As mentioned above.
Attachments
lateral.zip
Latest version of the lateral palette.
(14.27 KiB) Downloaded 70 times
original.zip
Latest version of the original palette.
(14.26 KiB) Downloaded 64 times
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Simple Simon

Postby richmond62 » Sun May 29, 2016 8:34 pm

control.png

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.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Simple Simon

Postby richmond62 » Mon May 30, 2016 8:47 pm

Those lunch breaks are beginning to tell:

extendedGuff.png

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 69 times
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria


Return to Teaching with LiveCode

Who is online

Users browsing this forum: No registered users and 1 guest