Sowl  1.0
Simple Object Window Library
PaintDeviceContext.h
1 #pragma once
2 #include "DeviceContext.h"
3 
4 namespace sowl
5 {
7  {
8  public:
9  PaintDeviceContext(HWND hwnd);
10  PaintDeviceContext(const PaintDeviceContext& other) = delete;
11  PaintDeviceContext& operator=(const PaintDeviceContext& other) = delete;
13 
14  void EndPaint();
15  void FillRect(HBRUSH hbr) const;
16  void FillRect(int iSystemColorIndex) const;
17 
18  private:
19  HWND hwnd;
20  PAINTSTRUCT ps;
21  };
22 }
Definition: DeviceContext.h:6
Definition: PaintDeviceContext.h:6