|
|
|
03-20-2024, 03:52 AM
|
#1
|
Human being with feelings
Join Date: Sep 2019
Posts: 1,134
|
Normal Windows colors override in Theme development / tweaker
These settings don't seem to make a difference in all themes, they do in v5 default theme in particular and probably its derivates.
Does anyone know where these 'normal' colors are stored and how to retrieve them?
|
|
|
03-20-2024, 04:44 AM
|
#2
|
Pixel Pusher
Join Date: Mar 2007
Location: Blighty
Posts: 4,950
|
The answer with most of the themable parts of Reaper is 'it depends'. There may be several different ways a themer chooses to create an outcome, because Reaper has many layers of (broadly historical) theming functionality that optionally override each previous functionality. For more, see the stickies at the top of this forum.
So, just in your screenshot example, there is a wiring pins color, which can only be set one way and that way is right there, and there is Sends text color, which may be (probably is) being overridden by WALTER code.
|
|
|
03-20-2024, 04:56 AM
|
#3
|
Human being with feelings
Join Date: Sep 2019
Posts: 1,134
|
I'm referring specifically to the two top options. When any of them is unchecked in v5 default theme on Windows the color of elements which depend on them becomes beige or its shade, the main color of the classic themes. So i'm looking for a way to retrieve it, in case on other OS it's different, otherwise i could just rely on this beige color code.
|
|
|
03-20-2024, 05:10 AM
|
#4
|
Pixel Pusher
Join Date: Mar 2007
Location: Blighty
Posts: 4,950
|
Could you do a screenshot of the bit you mean?
|
|
|
03-20-2024, 05:35 AM
|
#5
|
Human being with feelings
Join Date: Sep 2019
Posts: 1,134
|
Here's how it looks
|
|
|
03-20-2024, 05:51 AM
|
#6
|
Pixel Pusher
Join Date: Mar 2007
Location: Blighty
Posts: 4,950
|
That background colour behaviour hasn't changed, but FYI its not that beige colour on my system, its grey. As of the v7 theme the track background colour is entirely built of the new custom theming elements and you the user will be able to freely change its colour with zero messing about, once the new theme adjuster is finished (see the pre-release forum for more on that).
|
|
|
03-20-2024, 05:57 AM
|
#7
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
|
Quote:
Originally Posted by Buy One
So i'm looking for a way to retrieve it
|
Code:
local COLOR_WINDOW <const> = 4 -- 5 on Windows?
local win32_wnd_bg = reaper.GSC_mainwnd(COLOR_WINDOW)
(COLOR_WINDOW is supposed to be 5 on Win32, but SWELL defines it as 4)
|
|
|
03-20-2024, 07:16 AM
|
#8
|
Human being with feelings
Join Date: Sep 2019
Posts: 1,134
|
Quote:
Originally Posted by White Tie
That background colour behaviour hasn't changed, but FYI its not that beige colour on my system, its grey.
|
OK
Quote:
Originally Posted by cfillion
Code:
local COLOR_WINDOW <const> = 4 -- 5 on Windows?
local win32_wnd_bg = reaper.GSC_mainwnd(COLOR_WINDOW)
(COLOR_WINDOW is supposed to be 5 on Win32, but SWELL defines it as 4)
|
Thank you very much! 4 works
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 07:36 PM.
|