reactos/base/applications/charmap_new/Cell.h
Pierre Schweitzer 321bcc056d Create the AHCI branch for Aman's work
svn path=/branches/GSoC_2016/AHCI/; revision=71203
2016-04-24 20:17:09 +00:00

37 lines
662 B
C++

#pragma once
class CCell
{
private:
HWND m_hParent;
RECT m_CellCoordinates;
bool m_bHasFocus;
bool m_bIsLarge;
WCHAR m_Char;
public:
CCell(
_In_ HWND hParent
);
CCell(
_In_ HWND hParent,
_In_ RECT& CellLocation
);
~CCell();
LPRECT GetCellCoordinates() { return &m_CellCoordinates; }
void SetFocus(_In_ bool HasFocus) { m_bHasFocus = HasFocus; }
WCHAR GetChar() { return m_Char; }
void SetChar(_In_ WCHAR ch) { m_Char = ch; }
bool OnPaint(
_In_ PAINTSTRUCT &PaintStruct
);
void SetCellCoordinates(
_In_ RECT& Coordinates
);
};