Public Member Functions |
| ImageBox (ActiveWindow *p, int ax, int ay, int aw, int ah, DWORD id=0) |
| ImageBox (Screen *s, int ax, int ay, int aw, int ah, DWORD id=0) |
virtual | ~ImageBox () |
virtual void | Draw () |
virtual int | OnMouseMove (int x, int y) |
virtual int | OnLButtonDown (int x, int y) |
virtual int | OnLButtonUp (int x, int y) |
virtual int | OnClick () |
virtual int | OnMouseEnter (int x, int y) |
virtual int | OnMouseExit (int x, int y) |
int | GetBlendMode () const |
void | SetBlendMode (int blend) |
bool | GetBorder () const |
void | SetBorder (bool bNewValue) |
Color | GetBorderColor () const |
void | SetBorderColor (Color c) |
void | GetPicture (Bitmap &img) const |
void | SetPicture (const Bitmap &img) |
int | GetPictureLocation () const |
void | SetPictureLocation (int nNewValue) |
Rect | GetTargetRect () const |
void | SetTargetRect (const Rect &r) |
| ActiveWindow (Screen *s, int ax, int ay, int aw, int ah, DWORD id=0, DWORD style=0, ActiveWindow *parent=0) |
virtual | ~ActiveWindow () |
int | operator== (const ActiveWindow &w) const |
virtual void | Paint () |
virtual void | Show () |
virtual void | Hide () |
virtual void | MoveTo (const Rect &r) |
virtual void | UseLayout (const std::vector< DWORD > &min_x, const std::vector< DWORD > &min_y, const std::vector< float > &weight_x, const std::vector< float > &weight_y) |
virtual void | UseLayout (const std::vector< float > &min_x, const std::vector< float > &min_y, const std::vector< float > &weight_x, const std::vector< float > &weight_y) |
virtual void | UseLayout (int ncols, int nrows, int *min_x, int *min_y, float *weight_x, float *weight_y) |
virtual void | DoLayout () |
virtual int | OnSelect () |
virtual int | OnRButtonDown (int x, int y) |
virtual int | OnRButtonUp (int x, int y) |
virtual int | OnMouseWheel (int wheel) |
virtual int | OnKeyDown (int vk, int flags) |
virtual const char * | GetDescription () const |
virtual int | OnDragStart (int x, int y) |
virtual int | OnDragDrop (int x, int y, ActiveWindow *source) |
virtual ActiveWindow * | FindControl (int x, int y) |
virtual Rect | TargetRect () const |
virtual ActiveWindow * | GetCapture () |
virtual int | SetCapture () |
virtual int | ReleaseCapture () |
virtual void | SetFocus () |
virtual void | KillFocus () |
virtual bool | HasFocus () const |
void | SetEnabled (bool e=true) |
bool | IsEnabled () const |
bool | IsVisible () const |
DWORD | GetID () const |
void | SetStyle (DWORD s) |
DWORD | GetStyle () const |
void | SetText (const char *t) |
void | SetText (const Text &t) |
void | AddText (const char *t) |
void | AddText (const Text &t) |
const Text & | GetText () const |
void | SetAltText (const char *t) |
void | SetAltText (const Text &t) |
const Text & | GetAltText () const |
void | SetTexture (Bitmap *bmp) |
Bitmap * | GetTexture () |
void | SetMargins (const Insets &m) |
Insets & | GetMargins () |
void | SetTextInsets (const Insets &t) |
Insets & | GetTextInsets () |
List< ActiveWindow > & | GetChildren () |
void | SetCellInsets (const Insets &c) |
Insets & | GetCellInsets () |
void | SetCells (int cx, int cy, int cw=1, int ch=1) |
void | SetCells (const Rect &r) |
Rect & | GetCells () |
void | SetFixedWidth (int w) |
int | GetFixedWidth () const |
void | SetFixedHeight (int h) |
int | GetFixedHeight () const |
void | SetAlpha (double a) |
double | GetAlpha () const |
void | SetBackColor (Color c) |
Color | GetBackColor () const |
void | SetBaseColor (Color c) |
Color | GetBaseColor () const |
void | SetForeColor (Color c) |
Color | GetForeColor () const |
void | SetSingleLine (bool a) |
bool | GetSingleLine () const |
void | SetTextAlign (DWORD a) |
DWORD | GetTextAlign () const |
void | SetTransparent (bool t) |
bool | GetTransparent () const |
void | SetHidePartial (bool a) |
bool | GetHidePartial () const |
void | SetTabStop (int n, int x) |
int | GetTabStop (int n) const |
void | DrawText (const char *txt, int count, Rect &txt_rect, DWORD flags) |
virtual void | RegisterClient (int EID, ActiveWindow *client, PFVAWE callback) |
virtual void | UnregisterClient (int EID, ActiveWindow *client) |
virtual void | ClientEvent (int EID, int x=0, int y=0) |
virtual ActiveWindow * | GetForm () |
virtual void | SetForm (ActiveWindow *f) |
virtual bool | IsFormActive () const |
virtual bool | IsTopMost () const |
virtual void | SetTopMost (bool t) |
virtual ActiveWindow * | FindChild (DWORD id) |
virtual ActiveWindow * | FindChild (int x, int y) |
| Window (Screen *s, int ax, int ay, int aw, int ah) |
virtual | ~Window () |
int | operator== (const Window &that) const |
Screen * | GetScreen () const |
const Rect & | GetRect () const |
int | X () const |
int | Y () const |
int | Width () const |
int | Height () const |
virtual bool | IsShown () const |
virtual bool | AddView (View *v) |
virtual bool | DelView (View *v) |
Rect | ClipRect (const Rect &r) |
bool | ClipLine (int &x1, int &y1, int &x2, int &y2) |
bool | ClipLine (double &x1, double &y1, double &x2, double &y2) |
void | DrawLine (int x1, int y1, int x2, int y2, Color color, int blend=0) |
void | DrawRect (int x1, int y1, int x2, int y2, Color color, int blend=0) |
void | DrawRect (const Rect &r, Color color, int blend=0) |
void | FillRect (int x1, int y1, int x2, int y2, Color color, int blend=0) |
void | FillRect (const Rect &r, Color color, int alpha=0) |
void | DrawBitmap (int x1, int y1, int x2, int y2, Bitmap *img, int blend=0) |
void | FadeBitmap (int x1, int y1, int x2, int y2, Bitmap *img, Color c, int blend) |
void | ClipBitmap (int x1, int y1, int x2, int y2, Bitmap *img, Color c, int blend, const Rect &clip) |
void | TileBitmap (int x1, int y1, int x2, int y2, Bitmap *img, int blend=0) |
void | DrawLines (int nPts, POINT *pts, Color color, int blend=0) |
void | DrawPoly (int nPts, POINT *pts, Color color, int blend=0) |
void | FillPoly (int nPts, POINT *pts, Color color, int blend=0) |
void | DrawEllipse (int x1, int y1, int x2, int y2, Color color, int blend=0) |
void | FillEllipse (int x1, int y1, int x2, int y2, Color color, int blend=0) |
void | SetFont (Font *f) |
Font * | GetFont () const |
void | Print (int x1, int y1, const char *fmt,...) |
virtual | ~EventTarget () |
int | operator== (const EventTarget &t) const |
Definition at line 24 of file ImageBox.h.