simplegui/VirtualSDK/Controls/inc/wxLCD.h

32 lines
951 B
C
Raw Normal View History

#ifndef _INCLUDE_CLASS_WXEX_LCD_H_
#define _INCLUDE_CLASS_WXEX_LCD_H_
#include "wxLCDBase.h"
#include "Common.h"
class wxLCD: public wxLCDBase
{
//DECLARE_EVENT_TABLE();
private:
wxColour m_clsPixelHColour;
wxColour m_clsPixelLColour;
protected:
public:
// Constructor/Destructor
wxLCD(wxWindow *pclsParent, wxWindowID iWinID = wxID_ANY, const wxPoint& clsPosition = wxDefaultPosition, const wxSize& clsSizeInPixel = wxDefaultSizeInPixel);
~wxLCD(void);
int GetPixel(const int iPosX, const int iPosY);
void SetPixel(const int iPosX, const int iPosY, const int iValue);
void CleanScreen(void);
void SetPanelColour(const wxColour& clsPanelColour, bool bRefreshNow = true);
void SetPixelColour(const wxColour& clsPixelColour, bool bRefreshNow = true);
// Prepare to remove.
void SetParameter(PixelPanelParameter* pstPanelParameter);
};
#endif // _INCLUDE_CLASS_WXEX_LCD_H_