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

Reply
 
Thread Tools Display Modes
Old 09-23-2017, 12:32 AM   #1
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 1,578
Default Expand gfx.blit buffer allowed size 4x times (or unlimited)

I try to build sample browser (to dragndrop samples to related RS5k instances). Currently script draw explorer (and patterns list on other tab) items to blit buffer with height which expands dynamically, so I can scroll this stuff after. But it fails if path contains too much samples or folders:



Can you expand limits for height at least? Thanks.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate

Last edited by mpl; 09-23-2017 at 12:58 AM.
mpl is online now   Reply With Quote
Old 09-23-2017, 10:18 AM   #2
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 2,078
Default

Quote:
Originally Posted by mpl View Post
I try to build sample browser (to dragndrop samples to related RS5k instances). Currently script draw explorer (and patterns list on other tab) items to blit buffer with height which expands dynamically, so I can scroll this stuff after. But it fails if path contains too much samples or folders:


Can you expand limits for height at least? Thanks.
+1 for the feature request - i would love bigger than 2048 dimensions of drawable area.

However - you can solve your problem by storing the values in a table then redrawing with an offset value onto a bitmap the size of the list display when you scroll through. My Stripper script does just this and it means you don't require any huge bitmaps and have practically unlimited items in the list. I can provide example code if you wish.
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner
Donate via Paypal
lb0 is offline   Reply With Quote
Old 09-23-2017, 10:40 AM   #3
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 1,578
Default

Quote:
storing the values in a table
Thanks, I understand how it should works. That is a good solution for now, but add some mess when dealing with drawing/tables reffering though.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is online now   Reply With Quote
Old 09-23-2017, 11:29 AM   #4
deeb
Human being with feelings
 
Join Date: Feb 2017
Posts: 696
Default

+1 because
deeb is online now   Reply With Quote
Old 11-25-2017, 12:09 PM   #5
MegaLorf
Human being with feelings
 
MegaLorf's Avatar
 
Join Date: Jul 2017
Location: Moscow
Posts: 27
Default

+1 for this
MegaLorf is offline   Reply With Quote
Old 12-01-2017, 11:45 AM   #6
mespotine
Human being with feelings
 
Join Date: May 2017
Posts: 40
Default

+1

In addition:
It would also be nice, if the number of on-screen-buffers (gfx.dest) could changed from 1024 to a higher amount like 64.000. Would probably be of much help for GUI-libs like Lokasenna's, if he ever decides to expand it in a way, that you can use hundreds of gui-elements.

@mpl
Your script looks very interesting, from the GUI-perspective. Is it online somewhere so I can have a look at it on how you made that?
And how do you do the Drag'n'Drop-part?

Last edited by mespotine; 12-01-2017 at 11:53 AM.
mespotine is offline   Reply With Quote
Old 12-02-2017, 01:32 AM   #7
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 1,578
Default

ReaPack/mpl_RS5k manager

Dragndrop made simply with manipulating mouse click states.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is online now   Reply With Quote
Old 12-02-2017, 01:00 PM   #8
mespotine
Human being with feelings
 
Join Date: May 2017
Posts: 40
Default

@mpl
Thanks
mespotine 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 01:43 AM.


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