mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:25:48 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
37
base/applications/charmap_new/Cell.h
Normal file
37
base/applications/charmap_new/Cell.h
Normal file
|
@ -0,0 +1,37 @@
|
|||
#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
|
||||
);
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue