406dddf02049b2825961c55cc5575036ddc34b3b
[reactos.git] / reactos / base / applications / charmap_new / Cell.h
1 #pragma once
2 class CCell
3 {
4 private:
5 HWND m_hParent;
6 RECT m_CellCoordinates;
7
8 bool m_bHasFocus;
9 bool m_bIsLarge;
10 WCHAR ch;
11
12 public:
13 CCell(
14 _In_ HWND hParent
15 );
16
17 CCell(
18 _In_ HWND hParent,
19 _In_ RECT& CellLocation
20 );
21
22 ~CCell();
23
24 LPRECT GetCellCoordinates() { return &m_CellCoordinates; }
25 void SetFocus(_In_ bool HasFocus) { m_bHasFocus = HasFocus; }
26
27 bool OnPaint(
28 _In_ PAINTSTRUCT &PaintStruct
29 );
30
31 void SetCellCoordinates(
32 _In_ RECT& Coordinates
33 );
34 };
35