further development

git-svn-id: http://moon:8086/svn/software/trunk/projects/RBM@17 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2014-10-04 19:09:35 +00:00
parent b403b9776a
commit f62f1283f8
127 changed files with 2350 additions and 1235 deletions
+8 -4
View File
@@ -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]
//==============================================================================