further development
git-svn-id: http://moon:8086/svn/software/trunk/projects/RBM@17 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -38,12 +38,15 @@ class DrawComponent : public Component
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
DrawComponent (int width, int height, int scale);
|
||||
DrawComponent (int width, int height);
|
||||
~DrawComponent();
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
void drawGray(const double *pData);
|
||||
void drawAt(int x, int y);
|
||||
void setData(const double *pData);
|
||||
const double* getData();
|
||||
void clear();
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g);
|
||||
@@ -63,10 +66,11 @@ private:
|
||||
//[UserVariables] -- You can add your own custom variables in this section.
|
||||
int m_width;
|
||||
int m_height;
|
||||
int m_scale;
|
||||
ScopedPointer<Image>m_pImage;
|
||||
float m_scaleX;
|
||||
float m_scaleY;
|
||||
ScopedPointer<Graphics>m_pG;
|
||||
ScopedPointer<double>m_pData;
|
||||
Image m_image;
|
||||
//[/UserVariables]
|
||||
|
||||
//==============================================================================
|
||||
|
||||
Reference in New Issue
Block a user