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

Reply
 
Thread Tools Display Modes
Old 03-20-2024, 03:52 AM   #1
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,134
Default 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?

__________________
https://github.com/Buy-One/REAPER-scripts (175)
REAPER is a DAW whose user guide file is larger than its installation file
Buy One is offline   Reply With Quote
Old 03-20-2024, 04:44 AM   #2
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 4,950
Default

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.
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 03-20-2024, 04:56 AM   #3
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,134
Default

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.
__________________
https://github.com/Buy-One/REAPER-scripts (175)
REAPER is a DAW whose user guide file is larger than its installation file
Buy One is offline   Reply With Quote
Old 03-20-2024, 05:10 AM   #4
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 4,950
Default

Could you do a screenshot of the bit you mean?
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 03-20-2024, 05:35 AM   #5
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,134
Default

Here's how it looks

__________________
https://github.com/Buy-One/REAPER-scripts (175)
REAPER is a DAW whose user guide file is larger than its installation file
Buy One is offline   Reply With Quote
Old 03-20-2024, 05:51 AM   #6
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 4,950
Default

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).
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 03-20-2024, 05:57 AM   #7
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

Quote:
Originally Posted by Buy One View Post
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)
cfillion is offline   Reply With Quote
Old 03-20-2024, 07:16 AM   #8
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,134
Default

Quote:
Originally Posted by White Tie View Post
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 View Post
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
__________________
https://github.com/Buy-One/REAPER-scripts (175)
REAPER is a DAW whose user guide file is larger than its installation file
Buy One 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 07:36 PM.


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