Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cXImage.h
Go to the documentation of this file.
1 //
4 //
5 
6 #ifndef _INC_cXImage_H
7 #define _INC_cXImage_H
8 #pragma once
9 #include "../Window/cXWindow.h"
10 
11 namespace GrayGUI
12 {
13  class cXImage : public cXWindow
14  {
18  public:
19  cXImage(cXWindow* pParent, DLGID_t id = k_DLGID_Static);
20 
21  virtual HRESULT OnLostDeviceX();
22  virtual bool OnMouseDown(MBUTTON_TYPE uButton, PIXELS_t x, PIXELS_t y);
23  // virtual void OnContextMenu( cXMenu *pMenu, cXWindow *pCtrl );
24 
25  void put_DynamicTexture(SIZE size);
26  private:
27  bool m_bDynamicTexture;
28  };
29 
31 };
32 
33 #endif
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: cXImage.h:14
virtual bool OnMouseDown(MBUTTON_TYPE uButton, PIXELS_t x, PIXELS_t y)
Definition: cXImage.cpp:25
cXImage(cXWindow *pParent, DLGID_t id=k_DLGID_Static)
Definition: cXImage.cpp:11
virtual HRESULT OnLostDeviceX()
Definition: cXImage.cpp:39
void put_DynamicTexture(SIZE size)
Definition: cXImage.cpp:32
Definition: cXWindow.h:94
Definition: cRefPtr.h:225
Definition: GrayGUI.cpp:11
cRefPtr< cXImage > cXImagePtr
Definition: cXImage.h:30
const DLGID_t k_DLGID_Static
Definition: cXWindow.h:27
UINT DLGID_t
old window format this was a WORD, EX format this is UINT32.
Definition: cResDialog.h:68
MBUTTON_TYPE
Definition: cInputBase.h:40
int PIXELS_t
Count of pixels in a dimension of some image/surface.
Definition: cSurfaceInfo.h:20