View Single Post
Old 05 December 2020, 19:31   #17
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,332
Quote:
Originally Posted by Thomas Richter View Post
That, however, holds for all of intuition. Nothing prevents you to draw over the window decorations either. Well, except for GIMMEZEROZERO windows, where the clipping is solved in the "most convoluted" way (instead of installing an offset and a cliprect).

You get the coordinates in the DrawInfo, though.
Yes but at least normal intuition gadgets have the position of the gadget itself as coordinate reference, not the window.
Simple coordinate computation will work, until the gadget is anchored to right and/or bottom edge of window...


Quote:
Originally Posted by Thomas Richter View Post
Err... the way how gadtools renders frames is through the frameiclass. How else?
There are several possible ways. Regular Image structures, or draw it directly by code.
If the frameiclass is used, really i'd like to know how because it's not at all what i got !
meynaf is offline  
 
Page generated in 0.04662 seconds with 11 queries