LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
richmond62
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Post
by richmond62 » Mon Jan 01, 2018 11:52 am
with LC 4.6.3
I'm sure you did.
BUT . . . .
Almost everything in the LiveCode IDE was entirely recoded
"from the ground up" somewhere between version 5 and 8,
and the paint bucket, obviously, wasn't implemented 'properly'.
The engine was completely rewritten in 7
http://forums.livecode.com/viewtopic.ph ... 30#p162024
-
richmond62
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Post
by richmond62 » Mon Jan 01, 2018 12:26 pm
Of course you could import the
MetaCard Paint Tools into your stack . . .
You'll have to fiddle around with the Paint Tools script a bit so that it opens
as a palette.
-
jmburnod
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
-
Contact:
Post
by jmburnod » Mon Jan 01, 2018 12:38 pm
Of course you could import the MetaCard Paint Tools into your stack . . .
I believe I prefer send a bug report...
except if you assure upgrade
https://alternatic.ch
-
richmond62
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Post
by richmond62 » Mon Jan 01, 2018 12:40 pm
I prefer send a bug report...
And wait for donkey's ages: OK
- MCPT.png (25.8 KiB) Viewed 6419 times
Readily Hackable
ALSO . . . you could
extract the Paint Tools from the version of LiveCode that works
and "bring them forward" to the version where you wish to have that functionality.
- temptation.jpg (10.21 KiB) Viewed 6412 times
-
richmond62
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Post
by richmond62 » Mon Jan 01, 2018 4:07 pm
- toolz.png (7.86 KiB) Viewed 6399 times
-
richmond62
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Post
by richmond62 » Mon Jan 01, 2018 8:21 pm
Somewhere between
RunRev 2.0 and
RunRev/Dreamcard 2.6.1 the
revpainttools.rev stack
was "subsumed" into the
revTools stack.
- RRpaint.png (24.76 KiB) Viewed 6378 times
- PaintMyKnees.png (39.87 KiB) Viewed 6378 times
-
richmond62
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Post
by richmond62 » Mon Jan 01, 2018 8:28 pm
These ALSO work "how they should" with your stack:
-
richmond62
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Post
by richmond62 » Mon Jan 01, 2018 8:31 pm
- oldpaint.png (5.36 KiB) Viewed 6378 times
Of course as these are extracted from
RunRev 2.0 they are probably
copyrighted,
so, unlike the
Paint Tools from
Metacard you will need to "tread carefully"
should you choose to use them.
-
bogs
- Posts: 5435
- Joined: Sat Feb 25, 2017 10:45 pm
Post
by bogs » Mon Jan 01, 2018 8:50 pm
You sir are on a roll!
Btw, sub-sectioning the Mc stuff does seem to come forward ok for the most part (as I did with the help directory stacks), but as Richmond mentioned, the paint palette doesn't appear to work,
Without any re-jiggering at all, the named colors one *does* appear to work ok. I haven't tested it out completely yet, but will be looking at the other 2 available tabs for picking colors.
-
jmburnod
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
-
Contact:
Post
by jmburnod » Tue Jan 02, 2018 10:23 am
Hi Richmond,
Thanks for the job
I tried your modded version. Bucket works as expected on IDE LC 8.1.6
I wonder what is the best way to implement it in my app.
I filled a bug report 20820
https://alternatic.ch
-
jmburnod
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
-
Contact:
Post
by jmburnod » Tue Jan 02, 2018 12:53 pm
Better but not perfect (modded version)
Try this :
1. Paint a circle with middle area transparent with yellow color
2. Choose bucket and click on transparent area --works
3. Choose a blue color
4. Click on yelow area -- circle border have some yellow pixels
https://alternatic.ch
-
richmond62
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Post
by richmond62 » Tue Jan 02, 2018 1:43 pm
NOT rocket science:
As the
RunRev Modded Paint tools stack has 3 substacks I have had to make the "canvas" stack a substack of the paint tools as well.
-
jmburnod
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
-
Contact:
Post
by jmburnod » Thu Jan 11, 2018 6:25 pm
I believe understand that this bucket unexpected behavior happens only with if we use no square brush before using the bucket to change color of a colored area. It seems bucket works fine with square brushes
https://alternatic.ch