Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Color Themes and Icon Sets

Reply
 
Thread Tools Display Modes
Old 12-29-2019, 05:10 PM   #401
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by +NRG View Post
Don’t think you can do anything about that...
Booo :¬)

Anyone know where this is coming from?



It's not mcp_master_volbg.png...
b0se is offline   Reply With Quote
Old 12-29-2019, 05:21 PM   #402
+NRG
Human being with feelings
 
+NRG's Avatar
 
Join Date: Aug 2014
Location: NY
Posts: 791
Default

mcp_master_vol_label?
__________________
“Where words fail, music speaks”
+NRG is offline   Reply With Quote
Old 12-29-2019, 05:29 PM   #403
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by +NRG View Post
mcp_master_vol_label?
Ah that sounds promising. It's not in the 200 folder so must be being pulled from standard res files, must remember to look there too. I'll check tomorrow, just jumped in bed. Cheers!
b0se is offline   Reply With Quote
Old 12-29-2019, 06:49 PM   #404
ReaMike
Human being with feelings
 
ReaMike's Avatar
 
Join Date: Feb 2017
Location: Sydney Australia
Posts: 140
Default

This is looking really good. I particularly like what you've done with the IO button and indicators. Nice!
ReaMike is offline   Reply With Quote
Old 12-30-2019, 03:19 AM   #405
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Quote:
Originally Posted by b0se View Post
Anyone know where this is coming from?
I have just had a look at this.

It is a bit more complicated than you think...

For starters, that very short piece of dark line (I thought it was black but when I opened the image in Gimp it is a very dark grey colour) in the Master Mixer panel comes from the image,

meter_bg_mcp.png

and it is in the "200" folder.

But you can't just change that image to suit.

If you look at your normal Mixer tracks, there is a very thin 1px wide dark line to the left of each panel, just for the height of the meter section.

That also uses the meter_bg_mcp.png image, so anything you do to that image to suit the Master Mixer panel, it will affect the Mixer panel.

What you have to look at is the code in the rtconfig file. Something in the Master Mixer panel is masking the rest of that dark line. So you will have to experiment with some of the item positions in order to fix that masking.

Another thing I noticed in that screen shot is the line which represents the slot for the fader slider. At the top end the dark line fades out.

I opened up the associated image, mcp_master_volbg.png and found that the pink line to the right/top does not extend past the fader slot line. It stops short by about two pixels and therefore the line and its immediate background is stretched together and you get that fading effect.

Unless that is your artistic intention, in which case, ignore all that

But I thought I'd mention it because the fader slots in the normal Mixer tracks do not have that fading effect.


cheers

andy
__________________
Bandcamp // YouTube // SoundCloud

Last edited by synkrotron; 12-30-2019 at 03:35 AM.
synkrotron is offline   Reply With Quote
Old 12-30-2019, 03:44 AM   #406
video flesh
Human being with feelings
 
Join Date: Dec 2018
Posts: 6
Default

This theme looks absolutely amazing. I've been getting along with the default v6 theme all right so far, but I'll be switching to your theme the minute you get a version out for non-HiDPI displays.
video flesh is offline   Reply With Quote
Old 12-30-2019, 04:35 AM   #407
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by ReaMike View Post
This is looking really good. I particularly like what you've done with the IO button and indicators. Nice!
Cheers!

Quote:
Originally Posted by synkrotron View Post
I have just had a look at this.

It is a bit more complicated than you think...

For starters, that very short piece of dark line (I thought it was black but when I opened the image in Gimp it is a very dark grey colour) in the Master Mixer panel comes from the image,

meter_bg_mcp.png

and it is in the "200" folder.

But you can't just change that image to suit.

If you look at your normal Mixer tracks, there is a very thin 1px wide dark line to the left of each panel, just for the height of the meter section.

That also uses the meter_bg_mcp.png image, so anything you do to that image to suit the Master Mixer panel, it will affect the Mixer panel.

What you have to look at is the code in the rtconfig file. Something in the Master Mixer panel is masking the rest of that dark line. So you will have to experiment with some of the item positions in order to fix that masking.

Another thing I noticed in that screen shot is the line which represents the slot for the fader slider. At the top end the dark line fades out.

I opened up the associated image, mcp_master_volbg.png and found that the pink line to the right/top does not extend past the fader slot line. It stops short by about two pixels and therefore the line and its immediate background is stretched together and you get that fading effect.

Unless that is your artistic intention, in which case, ignore all that

But I thought I'd mention it because the fader slots in the normal Mixer tracks do not have that fading effect.


cheers

andy
Morning Andy

Managed to fix it by changing the mcp_master_vol_label image. Luck really, I tried a 'hunch', as such, and it worked. I don't really understand the yellow lines so it's mostly trail and error.

My studio internet connection is down ATM so I'm working on the install guide/post. I think it's ready for the HiDPI release.

Quote:
Originally Posted by video flesh View Post
This theme looks absolutely amazing. I've been getting along with the default v6 theme all right so far, but I'll be switching to your theme the minute you get a version out for non-HiDPI displays.
Thanks! Hopefully that'll be Q1 of January.
b0se is offline   Reply With Quote
Old 12-30-2019, 04:45 AM   #408
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Quote:
Originally Posted by b0se View Post
Managed to fix it by changing the mcp_master_vol_label image. Luck really, I tried a 'hunch', as such, and it worked. I don't really understand the yellow lines so it's mostly trail and error.
Okay, all is good for now then

In the long run it would be nice to understand what is going on though haha!

I'm still scratching my head over the yellow lines implementation...

Good luck with the release.

I'm sure you have already covered this but make sure that it is clear that it will be a beta release. I am sure that once it enters the public domain there will be "issues" that need tweaking

cheers

andy
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 05:05 AM   #409
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by synkrotron View Post
Okay, all is good for now then

In the long run it would be nice to understand what is going on though haha!

I'm still scratching my head over the yellow lines implementation...

Good luck with the release.

I'm sure you have already covered this but make sure that it is clear that it will be a beta release. I am sure that once it enters the public domain there will be "issues" that need tweaking

cheers

andy
Yeah, that's why I want to get it as close to finished as possible before release.

Fixed the fader BG lines btw, they're all sharp now, and perfectly centered. Also added border on right side of master mixer for those that have it on the left.
b0se is offline   Reply With Quote
Old 12-30-2019, 05:05 AM   #410
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

I know we've both seen this but it might be worth a closer look at some point in the future:-

https://forum.cockos.com/showpost.ph...08&postcount=7
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 05:08 AM   #411
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Quote:
Originally Posted by b0se View Post
Yeah, that's why I want to get it as close to finished as possible before release.
Someone said to me, on my last contract, "don't let perfect be the enemy of good."

I tend to strive for perfection, at least in some things I do, and I was being criticised for that.

I still struggle with that, to be honest, but what I am trying to say is, "get it out there and let the people rip it to bits!" haha

Quote:
Fixed the fader BG lines btw, they're all sharp now, and perfectly centered. Also added border on right side of master mixer for those that have it on the left.
Nice one
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 05:11 AM   #412
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

I can't, internet connection is down

I should have it all ready for when it's back up.
b0se is offline   Reply With Quote
Old 12-30-2019, 05:15 AM   #413
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Quote:
Originally Posted by b0se View Post
I can't, internet connection is down
Doh!

Yeah, well, that doesn't help
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 05:19 AM   #414
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Is there an image for behind the master FX, solo and pan bit?
b0se is offline   Reply With Quote
Old 12-30-2019, 05:34 AM   #415
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Quote:
Originally Posted by b0se View Post
Is there an image for behind the master FX, solo and pan bit?
Those images are,

mcp_mainbg.png

and

mcp_mainbgsel.png

I think that they currently do not exist in your "200" folder but they are in the theme root folder.

They are currently small and scale-able solid colour images with no transparency and no pink/yellow lines.
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 05:39 AM   #416
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

I should elaborate...

Those images are used to colour the whole of the panel.

I tried an experiment, making the colour of the main image red, and it only colours the top part of the panel. The other elements, volume, volume label, meter etc. are drawn over the top. So only the very top of the panel was coloured red.

Currently, your mute, solo and io buttons are in an area coloured by those other elements.
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 05:45 AM   #417
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by synkrotron View Post
Those images are,

mcp_mainbg.png

and

mcp_mainbgsel.png

I think that they currently do not exist in your "200" folder but they are in the theme root folder.

They are currently small and scale-able solid colour images with no transparency and no pink/yellow lines.
Thanks. Added to 200 folder and tweaked with some pink scaling lines - just fixed a minor annoyance.

Appreciate your help!
b0se is offline   Reply With Quote
Old 12-30-2019, 05:52 AM   #418
+NRG
Human being with feelings
 
+NRG's Avatar
 
Join Date: Aug 2014
Location: NY
Posts: 791
Default

This has been really fun to watch. And It developed so quickly! I like that you had a vision and stuck with it but at the same time asked for help, accepted input and the opinions of others.

Inspired me to get back to work on my own theme project...
__________________
“Where words fail, music speaks”
+NRG is offline   Reply With Quote
Old 12-30-2019, 05:55 AM   #419
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Pleasure is mine
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 07:02 AM   #420
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Back online

Tabs now blend from the scrollbar. Smoother!

b0se is offline   Reply With Quote
Old 12-30-2019, 07:04 AM   #421
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Faders centered with black groove/line...

b0se is offline   Reply With Quote
Old 12-30-2019, 07:07 AM   #422
Funkybot
Human being with feelings
 
Funkybot's Avatar
 
Join Date: Jul 2007
Location: New Joisey
Posts: 5,990
Default

Hi b0se, ou've probably noticed it already, but there's a tiny little glitch visible when the pan isn't centered. Like a tiny, tiny vertical line appears where the center circle meets the blended bar that extends from it.
Funkybot is offline   Reply With Quote
Old 12-30-2019, 07:09 AM   #423
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by Funkybot View Post
Hi b0se, ou've probably noticed it already, but there's a tiny little glitch visible when the pan isn't centered. Like a tiny, tiny vertical line appears where the center circle meets the blended bar that extends from it.
Yes that's irritating, but there's nothing I can do it seems. The dot and the stack are the exact same colour, so there's no reason that line/shadow should be there, but there it is.

It's far more noticeable when I post 2x scale screenshots on this forum. On a retina/HiDPI screen you can't really see it. Feel free to investigate when the theme is released!
b0se is offline   Reply With Quote
Old 12-30-2019, 07:11 AM   #424
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by synkrotron View Post
Pleasure is mine
Hey Andy. Would you be able to help me get your closed MCP folder end fix working? I'd love to have that working from the outset!
b0se is offline   Reply With Quote
Old 12-30-2019, 07:11 AM   #425
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Quote:
Originally Posted by Funkybot View Post
Hi b0se, ou've probably noticed it already, but there's a tiny little glitch visible when the pan isn't centered. Like a tiny, tiny vertical line appears where the center circle meets the blended bar that extends from it.
That is the "zeroline."

From the Theme images website:-

tcp_vol_zeroline AABBGGRR ; sets the ABGR value of the tcp's volume fader zero line. FFFF0000 would be solid blue, for example (v2.0+) -- note that this used to be documented incorrectly.
tcp_pan_zeroline AABBGGRR ; tcp pan fader zero line color (v2.0+)
tcp_width_zeroline AABBGGRR ; tcp width fader zero line color
mcp_vol_zeroline AABBGGRR ; mcp vol fader zero line color (v2.0+)
mcp_pan_zeroline AABBGGRR ; mcp pan fader zero line color (v2.0+)
mcp_width_zeroline AABBGGRR ; mcp width fader zero line color
trans_speed_zeroline AABBGGRR ; transport speed fader zero line color (v2.0+)
item_volknobfg AABBGGRR parm2 parm3 ; item volume knob, parm2 is zero-gain color, parm3 is pushed color
envcp_min_height 24 ; minimum envelope panel height
mcp_min_height 230 ; minimum mixer panel height
no_meter_reclbl 1 ; don't show tcp meter record-input label
gen_pan_zeroline AABBGGRR ; general pan fader zero line color
gen_vol_zeroline AABBGGRR ; general vol fader zero line color


https://www.reaper.fm/sdk/walter/images.php#rtconfig
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 07:12 AM   #426
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Quote:
Originally Posted by b0se View Post
Hey Andy. Would you be able to help me get your closed MCP folder end fix working? I'd love to have that working from the outset!
Arrggh!

I forgot about that... On it...
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 07:13 AM   #427
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by synkrotron View Post
That is the "zeroline."

From the Theme images website:-

tcp_vol_zeroline AABBGGRR ; sets the ABGR value of the tcp's volume fader zero line. FFFF0000 would be solid blue, for example (v2.0+) -- note that this used to be documented incorrectly.
tcp_pan_zeroline AABBGGRR ; tcp pan fader zero line color (v2.0+)
tcp_width_zeroline AABBGGRR ; tcp width fader zero line color
mcp_vol_zeroline AABBGGRR ; mcp vol fader zero line color (v2.0+)
mcp_pan_zeroline AABBGGRR ; mcp pan fader zero line color (v2.0+)
mcp_width_zeroline AABBGGRR ; mcp width fader zero line color
trans_speed_zeroline AABBGGRR ; transport speed fader zero line color (v2.0+)
item_volknobfg AABBGGRR parm2 parm3 ; item volume knob, parm2 is zero-gain color, parm3 is pushed color
envcp_min_height 24 ; minimum envelope panel height
mcp_min_height 230 ; minimum mixer panel height
no_meter_reclbl 1 ; don't show tcp meter record-input label
gen_pan_zeroline AABBGGRR ; general pan fader zero line color
gen_vol_zeroline AABBGGRR ; general vol fader zero line color


https://www.reaper.fm/sdk/walter/images.php#rtconfig
Ahh! Hoping AA is alpha?

Testing!
b0se is offline   Reply With Quote
Old 12-30-2019, 07:13 AM   #428
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by synkrotron View Post
Arrggh!

I forgot about that... On it...
*Sending internet beer*
b0se is offline   Reply With Quote
Old 12-30-2019, 07:21 AM   #429
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Quote:
Originally Posted by b0se View Post
Ahh! Hoping AA is alpha?

Testing!
Yes, it is.
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 07:24 AM   #430
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by synkrotron View Post
Yes, it is.
Hmm, they only seem to be for sliders (dual pan mode or the main MCP fader zero line).

Nothing seems to change the lines on the TCP/MCP dials.
b0se is offline   Reply With Quote
Old 12-30-2019, 07:33 AM   #431
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Quote:
Originally Posted by b0se View Post
Hmm, they only seem to be for sliders (dual pan mode or the main MCP fader zero line).

Nothing seems to change the lines on the TCP/MCP dials.
Ah, right... Interesting.

I was looking at this myself the other day but because I have a solid button the pan knob zero (or centre) line doesn't show anyway.

Which makes me think, is there something you could do with the the MCP Pan knob or knob stack?
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 07:38 AM   #432
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by synkrotron View Post
Ah, right... Interesting.

I was looking at this myself the other day but because I have a solid button the pan knob zero (or centre) line doesn't show anyway.

Which makes me think, is there something you could do with the the MCP Pan knob or knob stack?
The little zero dot and the stack are both completely opaque. It looks like the zero line is being drawn over the pan button.
b0se is offline   Reply With Quote
Old 12-30-2019, 07:52 AM   #433
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Quote:
Originally Posted by b0se View Post
The little zero dot and the stack are both completely opaque. It looks like the zero line is being drawn over the pan button.
Ah, but the knob stack has a flat end, it seems.

I just opened that knob stack in Gimp and put a few opaque lines on the other side of the centre line and that appears to do the trick.
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 08:17 AM   #434
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by synkrotron View Post
Ah, but the knob stack has a flat end, it seems.

I just opened that knob stack in Gimp and put a few opaque lines on the other side of the centre line and that appears to do the trick.
You're right. I've manually tweaked the stack - looks better!

b0se is offline   Reply With Quote
Old 12-30-2019, 09:09 AM   #435
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

I'm struggling with the folder thing.

I have done the images but I can't get my head around the code.

Line 1063 looks like this:-

Code:
set mcp.folder	+ + [0 bot_sec] [0 mcp.label{3}] folderstate<0 + + [mcp.size] [sidebar_sec{2}] * scale [-21 -2 21 22] * scale [0 -2 18 22]
The big difference between my simple theme and the V6 theme is that there are three different widths of mixer track. Normal, narrow and with a sidebar.

For each of those widths you have to deduce how wide the image is. But for the life of me I just cannot decipher the code.

I have attached the two images that I have "roughly" edited in Gimp.

I've got to nip out to the shops now so if you haven't sussed out the maths in that code by the time I get back I'll jump on this again.

cheers

andy
Attached Images
File Type: png mcp_fcomp_off.png (5.8 KB, 230 views)
File Type: png mcp_fcomp_tiny.png (6.8 KB, 219 views)
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 10:03 AM   #436
Funkybot
Human being with feelings
 
Funkybot's Avatar
 
Join Date: Jul 2007
Location: New Joisey
Posts: 5,990
Default

Quote:
Originally Posted by b0se View Post
You're right. I've manually tweaked the stack - looks better!

Glad you guys got it sussed! Question: where it says "full mix" in that screenshot, how would that text look centered? I think it could look better, but maybe not because then it would go out of alignment with the text below it and create a new margin. Just figured I'd toss it out as a question in case you hadn't tried it centered. Same with in/out.
Funkybot is offline   Reply With Quote
Old 12-30-2019, 11:09 AM   #437
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by synkrotron View Post
I'm struggling with the folder thing.

I have done the images but I can't get my head around the code.

Line 1063 looks like this:-

Code:
set mcp.folder	+ + [0 bot_sec] [0 mcp.label{3}] folderstate<0 + + [mcp.size] [sidebar_sec{2}] * scale [-21 -2 21 22] * scale [0 -2 18 22]
The big difference between my simple theme and the V6 theme is that there are three different widths of mixer track. Normal, narrow and with a sidebar.

For each of those widths you have to deduce how wide the image is. But for the life of me I just cannot decipher the code.

I have attached the two images that I have "roughly" edited in Gimp.

I've got to nip out to the shops now so if you haven't sussed out the maths in that code by the time I get back I'll jump on this again.

cheers

andy
I'm out ATM, I'll have a fiddle with it later too. Thanks for your efforts!

Quote:
Originally Posted by Funkybot View Post
Glad you guys got it sussed! Question: where it says "full mix" in that screenshot, how would that text look centered? I think it could look better, but maybe not because then it would go out of alignment with the text below it and create a new margin. Just figured I'd toss it out as a question in case you hadn't tried it centered. Same with in/out.
Yeah, I think it'll look better aligned with the input FX. Will check.
b0se is offline   Reply With Quote
Old 12-30-2019, 12:33 PM   #438
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

I was at the end of my tether.

I really do struggle with how bracketed values are calculated in WALTER and not just because of Polish notation.


However, I tried something. Something very random and for some reason it works.


My code is now looking like this:-

Code:
set folder_width    * 0.5 mcp.size{0}
set mcp.folder      + + [0 bot_sec] [0 mcp.label{3}] folderstate<0 + + [mcp.size] [sidebar_sec{2}] * scale [-21 -2 21 22] * scale [0 -2 folder_width 22]
I added a line to set a new variable, folder_width.

I felt the need to do the maths outside of the "set mcp.folder" line.

I then replaced the 18 value in the last square bracket with the folder_width variable.

The surprise came when I tried multiplying mpc.size{0} by 0.5

Why that works I have no idea. You would have thought that the folder width would be the same as the mcp.size width element, which is the first coordinate.

@b0se!

Try it your end and let me know how you get on.


cheers

andy
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 12-30-2019, 01:43 PM   #439
b0se
Human being with feelings
 
b0se's Avatar
 
Join Date: Jan 2019
Location: UK
Posts: 938
Default

Quote:
Originally Posted by synkrotron View Post
I was at the end of my tether.

I really do struggle with how bracketed values are calculated in WALTER and not just because of Polish notation.


However, I tried something. Something very random and for some reason it works.


My code is now looking like this:-

Code:
set folder_width    * 0.5 mcp.size{0}
set mcp.folder      + + [0 bot_sec] [0 mcp.label{3}] folderstate<0 + + [mcp.size] [sidebar_sec{2}] * scale [-21 -2 21 22] * scale [0 -2 folder_width 22]
I added a line to set a new variable, folder_width.

I felt the need to do the maths outside of the "set mcp.folder" line.

I then replaced the 18 value in the last square bracket with the folder_width variable.

The surprise came when I tried multiplying mpc.size{0} by 0.5

Why that works I have no idea. You would have thought that the folder width would be the same as the mcp.size width element, which is the first coordinate.

@b0se!

Try it your end and let me know how you get on.


cheers

andy
Skills! I'll try that tonight when I get home.

Thank you
b0se is offline   Reply With Quote
Old 12-30-2019, 01:43 PM   #440
Crumbfort
Human being with feelings
 
Crumbfort's Avatar
 
Join Date: Oct 2017
Location: hither and yon
Posts: 140
Default

This theme is looking absolutely amazing! Can't wait to try it out. (I'll admit I've been checking in on this thread multiple times per day to see if it's been released )
Crumbfort is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.