Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 11-08-2019, 10:17 AM   #1
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default API: gfx.init - support of other windowstyles

I would suggest to add different windowstyles for gfx.init, like POPUP, CAPTION, SIZEBOX, SYSMENU and MAXIMIZE. With some GUI-scripts, it would be very handy to have.

And more a question of completeness: it would be great, if we could set the icon in title-bar of the window on Windows as well.
The default one does not really look that great.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-14-2019, 05:25 AM   #2
Dafarkias
Human being with feelings
 
Dafarkias's Avatar
 
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
Default

+1

I do like though how they added functionality for gfx.init to resize and reposition, without having to completely renew the window
__________________

Support my feature request!
Dafarkias is offline   Reply With Quote
Old 11-14-2019, 08:00 AM   #3
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

I do too.

I would also love, if they could add the possibility to have a transparency-color. This is already doable on Windows but not on Mac and Linux, afaik.
I would love to have lokasenna's Radialmenu in borderless.

Though I have no clue, how difficult this would be to do.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-14-2019, 09:17 AM   #4
Dafarkias
Human being with feelings
 
Dafarkias's Avatar
 
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
Default

I have no idea how difficult it would be either. But I imagine it would be possible using Julian's API extension?
__________________

Support my feature request!
Dafarkias is offline   Reply With Quote
Old 11-14-2019, 09:44 AM   #5
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Unfortunately no. You can make the whole window transparent, but not one single color.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-14-2019, 11:23 AM   #6
Dafarkias
Human being with feelings
 
Dafarkias's Avatar
 
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
Default

Quote:
Originally Posted by mespotine View Post
Unfortunately no. You can make the whole window transparent, but not one single color.

reaper.JS_Window_SetOpacity( windowHWND, mode, value )

Parameters:
mode: either "ALPHA" or "COLOR".
value: If ALPHA, the specified value may range from zero to one, and will apply to the entire window.
If COLOR, value specifies a 0xRRGGBB color, and all pixels in this color will be made transparent. (All mouse clicks over transparent pixels will pass through, too).

WARNING: COLOR mode is only available in Windows, not Linux or macOS.

__________________

Support my feature request!
Dafarkias is offline   Reply With Quote
Old 11-14-2019, 11:26 AM   #7
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Quote:
Originally Posted by Dafarkias View Post

WARNING: COLOR mode is only available in Windows, not Linux or macOS.

That's what I forgot to mention, on Windows yes, on Mac and Linux not(yet).
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-14-2019, 01:40 PM   #8
Dafarkias
Human being with feelings
 
Dafarkias's Avatar
 
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
Default

Oops-sorry.
__________________

Support my feature request!
Dafarkias 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 04:07 AM.


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