![]() |
|
#1
|
|||
|
|||
Making Portion of a Widget TransparentHi ,
I read making window transparent thread it was very interesting ,my question Suppose I want to create particular portion of the widget (not window)transparent in FLTK how can I do that. Lets say coordinates of widget are x = 0 ,y = 0 ,width = w ,height = h I want particular portion say x+10,y+10,w-20,h-20 to be transparent how can I do the same __________________
Everything you see is a Dream... |
|||
|
#2
|
|||
|
|||
Re: Making Portion of a Widget Transparentfor a start I believe you will need to use FLTK2, and then overload the draw_background() Widget function:
http://www.fltk.org/doc-2.0/html/classWidget.html#a117 |
|
#3
|
|||
|
|||
Re: Making Portion of a Widget Transparentread background as an image
draw widget put region over a widget |
|
#4
|
|||
|
|||
Re: Making Portion of a Widget TransparentHow can I put region over a widget?
|
Recent GIDBlog
Problems with the Navy (Officers) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Saving widget graphics | silverstar | FLTK Forum | 3 | 12-Jun-2007 13:45 |
| drawing widget | paolo | FLTK Forum | 6 | 17-Apr-2006 04:16 |
| FLTK clock box widget | cable_guy_67 | FLTK Forum | 0 | 09-Jul-2005 18:51 |
| widget coordinate relative to parent ? | Marius Giurgi | FLTK Forum | 10 | 10-Mar-2005 06:21 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The