6 // WMEllipse: Widgets inherited from this class will be displayed within an
7 // elliptical border. Simply inherit from WMEllipse and the desired widget.
8 // Note: In order to get a circle, you must make the widget's width the same
9 // as its height, for example by placing it inside a WMFrame with padding.
10 class WMEllipse
: public virtual WMWidget
{
12 virtual void draw_border(Color c1
, Color c2
, int nsteps
);
13 virtual void draw_border();
16 bool contains(int x
, int y
) const;
18 virtual ~WMEllipse() { }