ReactOS  0.4.12-dev-14-gd0c8636
Cell.h
Go to the documentation of this file.
1 #pragma once
2 class CCell
3 {
4 private:
7 
8  bool m_bHasFocus;
9  bool m_bIsLarge;
11 
12 public:
13  CCell(
15  );
16 
17  CCell(
19  _In_ RECT& CellLocation
20  );
21 
22  ~CCell();
23 
25  void SetFocus(_In_ bool HasFocus) { m_bHasFocus = HasFocus; }
26  WCHAR GetChar() { return m_Char; }
27  void SetChar(_In_ WCHAR ch) { m_Char = ch; }
28 
29  bool OnPaint(
30  _In_ PAINTSTRUCT &PaintStruct
31  );
32 
33  void SetCellCoordinates(
34  _In_ RECT& Coordinates
35  );
36 };
37 
__wchar_t WCHAR
Definition: xmlstorage.h:180
HWND m_hParent
Definition: Cell.h:5
LPRECT GetCellCoordinates()
Definition: Cell.h:24
void SetChar(_In_ WCHAR ch)
Definition: Cell.h:27
void SetCellCoordinates(_In_ RECT &Coordinates)
Definition: Cell.cpp:89
bool m_bIsLarge
Definition: Cell.h:9
bool m_bHasFocus
Definition: Cell.h:8
WCHAR GetChar()
Definition: Cell.h:26
Definition: Cell.h:2
const DOCKBAR PVOID HWND hParent
Definition: tooldock.h:22
#define _In_
Definition: no_sal2.h:204
bool OnPaint(_In_ PAINTSTRUCT &PaintStruct)
Definition: Cell.cpp:43
RECT m_CellCoordinates
Definition: Cell.h:6
void SetFocus(_In_ bool HasFocus)
Definition: Cell.h:25
CCell(_In_ HWND hParent)
Definition: Cell.cpp:19
~CCell()
Definition: Cell.cpp:38
WCHAR m_Char
Definition: Cell.h:10