|
|
|
11-08-2019, 10:17 AM
|
#1
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,621
|
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.
|
|
|
11-14-2019, 05:25 AM
|
#2
|
Human being with feelings
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
|
+1
I do like though how they added functionality for gfx.init to resize and reposition, without having to completely renew the window
|
|
|
11-14-2019, 08:00 AM
|
#3
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,621
|
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.
|
|
|
11-14-2019, 09:17 AM
|
#4
|
Human being with feelings
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
|
I have no idea how difficult it would be either. But I imagine it would be possible using Julian's API extension?
|
|
|
11-14-2019, 09:44 AM
|
#5
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,621
|
Unfortunately no. You can make the whole window transparent, but not one single color.
|
|
|
11-14-2019, 11:23 AM
|
#6
|
Human being with feelings
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
|
Quote:
Originally Posted by mespotine
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.
|
|
|
11-14-2019, 11:26 AM
|
#7
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,621
|
Quote:
Originally Posted by Dafarkias
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).
|
|
|
11-14-2019, 01:40 PM
|
#8
|
Human being with feelings
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
|
Oops-sorry.
|
|
|
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 04:07 AM.
|