New Black icons in LC 8 DP 14 - hacked

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

New Black icons in LC 8 DP 14 - hacked

Post by richmond62 » Mon Feb 08, 2016 9:06 pm

The latest Developer Preview of Livecode 8.0 features a new set of Black icons in the revMenuBar stack.

Personally, while I think they are quite an improvement on the kiddy-candy icons we have got used to from about version 2.0 onwards
I much prefer a dark menuBar with white icons.

So here's a stack to switch things around.

This is completely non-destructive, even if only because Livecode 8.0 is so designed that one cannot make modifications 'stick'.
MBdefault.png
MBblack.png
MBwhite.png
Last edited by richmond62 on Mon Feb 08, 2016 9:13 pm, edited 1 time in total.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: New Black icons in LC 8 DP 14 - hacked

Post by richmond62 » Mon Feb 08, 2016 9:07 pm

I have removed this fil as there is an improved version available a bit further down the page.
Attachments
Hacker.png
Last edited by richmond62 on Wed Feb 10, 2016 5:04 pm, edited 1 time in total.

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 192
Joined: Thu Apr 18, 2013 2:48 pm

Re: New Black icons in LC 8 DP 14 - hacked

Post by livecodeali » Mon Feb 08, 2016 10:01 pm

Looks good Richmond.

I don't know what you mean by
richmond62 wrote:Livecode 8.0 is so designed that one cannot make modifications 'stick'.
though, seems like total misinformation.

Kangaroo SW
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 33
Joined: Sat Jan 15, 2011 10:57 am

Re: New Black icons in LC 8 DP 14 - hacked

Post by Kangaroo SW » Tue Feb 09, 2016 8:42 am

Thanks Richmond

But on a freshly installed LC 8 DP14 on OSX clicking on "Turn the Tools Palette black" I get:

Error: button "Turn the Tools Palette black" : execution error at line 2 (Chunk: can't find card), char 1

The Menubar buttons work fine ?!

Cheers :cry:

Kangaroo SW
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 33
Joined: Sat Jan 15, 2011 10:57 am

Re: New Black icons in LC 8 DP 14 - hacked

Post by Kangaroo SW » Tue Feb 09, 2016 8:49 am

Found the problem the ID of my card was 1126

-> set the backGroundColor of card ID 1126 of stack "revTools" to "black"

fixed the problem !

Cheers :D

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: New Black icons in LC 8 DP 14 - hacked

Post by FourthWorld » Tue Feb 09, 2016 5:56 pm

livecodeali wrote:Looks good Richmond.

I don't know what you mean by
richmond62 wrote:Livecode 8.0 is so designed that one cannot make modifications 'stick'.
though, seems like total misinformation.
Agreed. If anything v8 is more hackable than ever.

It was never a good idea to directly modify IDE objects directly, if for no other reason than the value of one's own time: with the very next update any changes would be lost.

IDE hacks are best applied as scripts that modify IDE elements, so the script can be run on startup with a plugin and as such will survive between updates.

If one really needs/wants to modify the IDE directly, revMenuBar and other components are script-only stacks, easier to edit than ever before.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: New Black icons in LC 8 DP 14 - hacked

Post by richmond62 » Wed Feb 10, 2016 5:03 pm

Here's an improved version that will work out the card numbers of your palette stacks
by itself. . . .
Last edited by richmond62 on Wed Feb 10, 2016 5:43 pm, edited 1 time in total.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: New Black icons in LC 8 DP 14 - hacked

Post by richmond62 » Wed Feb 10, 2016 5:43 pm

I never know when to stop:
Hacker2.png
This one mucks around with the widget icons as well.
Attachments
LiveCode 8 GUI hacker.livecode.zip
(13.3 KiB) Downloaded 237 times

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: New Black icons in LC 8 DP 14 - hacked

Post by richmond62 » Wed Mar 02, 2016 10:25 pm

Some people are objecting to the new B&W icons in favour of the previous, multicoloured ones.
HackedDP15.png
The way to recover the coloured icons is to swap out my 'images' folder with the icons supplied with DP 15 here:

.runrev/components/livecodecommunity-8.0.0-dp-15.x86_64/Toolset/palettes/menubar/
Attachments
images.7z
Sorry about .7z rather than .zip; but I needed .7z to compress the folder sufficiently for the Forum to accept it.
(244.11 KiB) Downloaded 229 times

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: New Black icons in LC 8 DP 14 - hacked

Post by bogs » Fri Jun 30, 2017 5:38 am

Thank you so much for that information, richmond62, it allowed me to put some color back into the later ide !
richmond62 » Mon Feb 08, 2016 3:06 pm wrote:<sic>... the kiddy-candy icons we have got used to from about version 2.0 onwards...</sic>
<Proud kiddy-candy icon user and admirer for the last 3 decades>

Image
Image

Post Reply

Return to “Talking LiveCode”