Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum

Reply
 
Thread Tools Display Modes
Old 03-16-2018, 11:23 AM   #1
benf
Human being with feelings
 
benf's Avatar
 
Join Date: Oct 2008
Location: France
Posts: 3,698
Default LUA : is it possible to get a list of the actual theme layouts ?

Everything is in the title...
__________________
Ma Zique
Mes Partoches
benf is offline   Reply With Quote
Old 03-18-2018, 10:05 AM   #2
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,622
Default

The current one should be gettable using:
reaper.GetLastColorThemeFile()

The rest can be done using:
string reaper.EnumerateFiles(string path, integer fileindex)

where string path should be something like
reaper.GetResourcePath().."/ColorThemes"

The color-theme-files themselves have .ReaperTheme as extension, which is a readable textfile with all color-settings and paths to the graphic-files in them.
The whole color-theme including everything(gfx, the colortheme-file, etc) has .ReaperThemeZip as extension and is a zip-file.
Meo-Ada Mespotine is online now   Reply With Quote
Old 03-21-2018, 04:53 AM   #3
benf
Human being with feelings
 
benf's Avatar
 
Join Date: Oct 2008
Location: France
Posts: 3,698
Default

Thanks for your answer. I already knew GetLastColorThemeFile(), but I hoped there was an easier way to get those informations than digging in the ReaperTheme.
__________________
Ma Zique
Mes Partoches
benf is offline   Reply With Quote
Old 03-21-2018, 10:35 AM   #4
benf
Human being with feelings
 
benf's Avatar
 
Join Date: Oct 2008
Location: France
Posts: 3,698
Default

No layout appears in V5 ReaperTheme.
__________________
Ma Zique
Mes Partoches
benf 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 08:58 AM.


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