Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ImgView Class Reference

#include <ImgView.h>

Inheritance diagram for ImgView:
View

List of all members.

Public Member Functions

 ImgView (Window *c, Bitmap *bmp)
virtual ~ImgView ()
virtual void Refresh ()
virtual BitmapGetPicture () const
virtual void SetPicture (Bitmap *bmp)
virtual int GetBlend () const
virtual void SetBlend (int b)
- Public Member Functions inherited from View
 View (Window *c)
virtual ~View ()
int operator== (const View &that) const
virtual void OnWindowMove ()
virtual void OnShow ()
virtual void OnHide ()
virtual void SetWindow (Window *w)
virtual WindowGetWindow ()

Static Public Member Functions

static const char * TYPENAME ()

Protected Attributes

Bitmapimg
int x_offset
int y_offset
int width
int height
int blend
- Protected Attributes inherited from View
Windowwindow

Detailed Description

Definition at line 27 of file ImgView.h.


Constructor & Destructor Documentation

ImgView::ImgView ( Window c,
Bitmap bmp 
)

Definition at line 25 of file ImgView.cpp.

ImgView::~ImgView ( )
virtual

Definition at line 41 of file ImgView.cpp.


Member Function Documentation

virtual int ImgView::GetBlend ( ) const
inlinevirtual

Definition at line 40 of file ImgView.h.

virtual Bitmap* ImgView::GetPicture ( ) const
inlinevirtual

Definition at line 38 of file ImgView.h.

void ImgView::Refresh ( )
virtual

Reimplemented from View.

Definition at line 48 of file ImgView.cpp.

virtual void ImgView::SetBlend ( int  b)
inlinevirtual

Definition at line 41 of file ImgView.h.

void ImgView::SetPicture ( Bitmap bmp)
virtual

Definition at line 62 of file ImgView.cpp.

static const char* ImgView::TYPENAME ( )
inlinestatic

Reimplemented from View.

Definition at line 30 of file ImgView.h.


Member Data Documentation

int ImgView::blend
protected

Definition at line 47 of file ImgView.h.

int ImgView::height
protected

Definition at line 46 of file ImgView.h.

Bitmap* ImgView::img
protected

Definition at line 44 of file ImgView.h.

int ImgView::width
protected

Definition at line 46 of file ImgView.h.

int ImgView::x_offset
protected

Definition at line 45 of file ImgView.h.

int ImgView::y_offset
protected

Definition at line 45 of file ImgView.h.


The documentation for this class was generated from the following files: