Old 07-01-2020, 10:23 AM   #1
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 876
Default Developer Tool: Theme-Parameter-Monitor

This one resulted from a request on being able to programmatically set the default's theme-parameters, without having to use the theme-adjuster.

I made some functions for my Ultraschall-API to influence them.

AND

I made a theme-parameter-monitor, which not only displays the current values, but also, what has been changed by the theme-adjuster.
And of course you can change them in the monitor directly as well. That's part of properly fullfilled decadence XD




This works for all themes, who use theme-parameters, so it could be a cool debugging tool as well for theme-developers.

Just install Ultraschall-API, run the action "Script: ultraschall_Add_Developertools_To_Reaper.lua" and then you have

"Script: ultraschall_developertool_Theme_Parameter_Monitor. lua"

available.

The functions ApplyAllThemeLayoutParameters, GetAllThemeLayoutNames, GetAllThemeLayoutParameters, GetThemeParameterIndexByDescription, GetThemeParameterIndexByName, SetThemeParameterIndexByDescription, SetThemeParameterIndexByName should give you plenty to apply parameters programmatically.

More to follow...
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1200 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is online now   Reply With Quote
Old 07-01-2020, 11:20 AM   #2
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 2,352
Default

nice~!

2 questions to a master like you:

Can you make it possible to copy all the "theme color/font settings" (in the theme development/tweaker window) from one theme to another?

can you make WALTER works like "drag and drop"? like entering an graphic edit mode, where you can drag knobs/meters and whatever and then save it so it will work on all tracks and so on...
__________________
Thanks devs for adding the abillity to use single click to change a single velocity And single right click to remove a single note without dragging.
much appreciated.
Reflected is offline   Reply With Quote
Old 07-01-2020, 11:24 AM   #3
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 876
Default

Yes, I'm thinking about a proper Walter-Theme-editor.

And No, I'm not doing it...at least for now(and if I'd attempt it, i'd probably not do it for free...).

If that was your question


This tool only takes care of the alterable parameters in the theme. So unless you have a theme, that has the same parameters included, you cannot use settings from one in the other.
I'm using, what the theme offers. But maybe, this tool encourages more themers to include theme-parameters into their themes.
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1200 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is online now   Reply With Quote
Old 07-01-2020, 11:30 AM   #4
rothchild
Human being with feelings
 
Join Date: Oct 2007
Posts: 663
Default

Quote:
Originally Posted by Reflected View Post
nice~!

2 questions to a master like you:

Can you make it possible to copy all the "theme color/font settings" (in the theme development/tweaker window) from one theme to another?

can you make WALTER works like "drag and drop"? like entering an graphic edit mode, where you can drag knobs/meters and whatever and then save it so it will work on all tracks and so on...
That's what I thought was going to happen when Mespotine originally posted this (https://forum.cockos.com/showthread.php?t=229063)

The issue (afaikt) is that all themes are built using different 'baseline' sizes. But if the boundaries where know it seems pretty straight foward to programme a button placement tool, Walter after all could be understood (in part) as a big collection of grid references.
rothchild is offline   Reply With Quote
Old 07-05-2020, 05:03 PM   #5
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC USA
Posts: 8,816
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
Yes, I'm thinking about a proper Walter-Theme-editor.

And No, I'm not doing it...at least for now(and if I'd attempt it, i'd probably not do it for free...).

If that was your question


This tool only takes care of the alterable parameters in the theme. So unless you have a theme, that has the same parameters included, you cannot use settings from one in the other.
I'm using, what the theme offers. But maybe, this tool encourages more themers to include theme-parameters into their themes.
If you did a walter theme editor for free you would nurture tons of amazing new themes. I could help test and document!
Coachz is online now   Reply With Quote
Old 07-05-2020, 07:05 PM   #6
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 876
Default

The editor itself would always be free, but not my development time, as this is a very challenging project. It hasn't been done yet by somebody for a good reason.

And it would be an editor which could open and (re)edit only themes created with it, as supporting others is too impossible due lack of a full Walter-reference doc.
The one on the Reaper-site is missing a lot of elements so I wouldn't know, they exist in the first place.
Let alone what they do.
So building a fully compatible Walter-analyse-parser is impossible or at least means painful reverse engineering over months.
And afaik, the old theme-engine's elements (the one before Walter) seems to be supported in parallel as well.
It would be a mess to support old themes as well...
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1200 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is online now   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 05:13 AM.


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