Plananarama and Dragregion

General questions that have to do with plugins go here

Plananarama and Dragregion

Postby evil » Sun Oct 09, 2016 2:10 am

The following code Accepts the dragregions of the window under OS4. But it does not work on an aga-amiga without gfx-board. A Bug? Or simple syntax-problems??

Code: Select all
@display 1,{width=100, height=40,borderless=TRUE,dragregion={{type=#box, x=0,y=0,width=30,height=20}}}
Function p_event()
   nprint ("check")
   waitleftmouse()
   end()
endfunction

makebutton (1,#simplebutton,30,0,20,20,{OnMouseup=p_event})
box (30,0,20,20,#white)

repeat
waitevent()
forever


Best regards
George
evil
 
Posts: 108
Joined: Mon Jun 14, 2010 1:38 pm

Re: Plananarama and Dragregion

Postby airsoftsoftwair » Thu Oct 13, 2016 5:27 pm

Custom drag regions are unsupported by Hollywood's display adapter plugin API. Hence, Plananarama can't support them. The display adapter API currently only exposes features that are considered essential... drag regions are currently not part of that API.
User avatar
airsoftsoftwair
 
Posts: 2283
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: Plananarama and Dragregion

Postby evil » Thu Oct 27, 2016 8:59 am

Ok. Thanks for your replay!
evil
 
Posts: 108
Joined: Mon Jun 14, 2010 1:38 pm


Return to General plugin questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron