#include <ecanvas.h>
|
| | eCanvas (eWidget *parent) |
| |
| void | setSize (eSize size) |
| |
| void | clear (gRGB color) |
| |
| void | fillRect (eRect rect, gRGB color) |
| |
| void | drawLine (int x0, int y0, int x1, int y1, gRGB color) |
| |
| void | writeText (eRect where, gRGB fg, gRGB bg, gFont *font, const char *string, int flags) |
| |
| void | drawRotatedLine (int ox, int oy, int x0, int y0, int x1, int y1, float angle, bool cw, gRGB color) |
| |
| | ePixmap (eWidget *parent) |
| |
| void | setPixmap (gPixmap *pixmap) |
| |
| void | setPixmap (ePtr< gPixmap > &pixmap) |
| |
| void | setPixmapFromFile (const char *filename) |
| |
| void | setAlphatest (int alphatest) |
| |
| void | setScale (int scale) |
| |
| void | setPixmapScaleFlags (int flags) |
| |
| void | setBorderWidth (int pixel) |
| |
| void | setBorderColor (const gRGB &color) |
| |
| | eWidget (eWidget *parent) |
| |
| virtual | ~eWidget () |
| |
| void | move (ePoint pos) |
| |
| void | resize (eSize size) |
| |
| ePoint | position () const |
| |
| eSize | size () const |
| |
| eSize | csize () const |
| |
| void | invalidate (const gRegion ®ion=gRegion::invalidRegion()) |
| |
| virtual eWidget * | child () |
| |
| eWidget * | getParent () |
| |
| void | show () |
| |
| void | hide () |
| |
| void | raise () |
| |
| void | lower () |
| |
| void | destruct () |
| |
| | SWIG_VOID (int) getStyle(ePtr< eWindowStyle > &SWIG_NAMED_OUTPUT(style)) |
| |
| void | setStyle (eWindowStyle *style) |
| |
| void | setBackgroundColor (const gRGB &col) |
| |
| void | clearBackgroundColor () |
| |
| void | setZPosition (int z) |
| |
| void | setTransparent (int transp) |
| |
| int | isVisible () |
| |
| int | isLowered () |
| |
| int | isTransparent () |
| |
| ePoint | getAbsolutePosition () |
| |
| void | setFocus (eWidget *focus) |
| |
| void | setPositionNotifyChild (int n) |
| |
| void | notifyShowHide () |
| |
|
| enum | eWidgetEvent {
evtPaint
, evtKey
, evtChangedPosition
, evtChangedSize
,
evtParentChangedPosition
, evtParentVisibilityChanged
, evtWillChangePosition
, evtWillChangeSize
,
evtAction
, evtFocusGot
, evtFocusLost
, evtUserWidget
} |
| |
| eWidgetAnimation | m_animation |
| |
| gRegion | m_clip_region |
| |
| gRegion | m_visible_region |
| |
| gRegion | m_visible_with_childs |
| |
| struct eWidgetDesktopCompBuffer * | m_comp_buffer [MAX_LAYER] |
| |
| int | event (int event, void *data=0, void *data2=0) |
| |
| void | checkSize () |
| |
| void | mayKillFocus () |
| |
| ePtr< gPixmap > | m_pixmap |
| |
◆ eCanvas()
| eCanvas::eCanvas |
( |
eWidget * |
parent | ) |
|
◆ clear()
| void eCanvas::clear |
( |
gRGB |
color | ) |
|
◆ drawLine()
| void eCanvas::drawLine |
( |
int |
x0, |
|
|
int |
y0, |
|
|
int |
x1, |
|
|
int |
y1, |
|
|
gRGB |
color |
|
) |
| |
◆ drawRotatedLine()
| void eCanvas::drawRotatedLine |
( |
int |
ox, |
|
|
int |
oy, |
|
|
int |
x0, |
|
|
int |
y0, |
|
|
int |
x1, |
|
|
int |
y1, |
|
|
float |
angle, |
|
|
bool |
cw, |
|
|
gRGB |
color |
|
) |
| |
◆ fillRect()
| void eCanvas::fillRect |
( |
eRect |
rect, |
|
|
gRGB |
color |
|
) |
| |
◆ setSize()
| void eCanvas::setSize |
( |
eSize |
size | ) |
|
◆ writeText()
| void eCanvas::writeText |
( |
eRect |
where, |
|
|
gRGB |
fg, |
|
|
gRGB |
bg, |
|
|
gFont * |
font, |
|
|
const char * |
string, |
|
|
int |
flags |
|
) |
| |
The documentation for this class was generated from the following files: