00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #pragma once
00016 #include <background_wnd/painter_holder.hpp>
00017
00018
00019 namespace win32 { namespace gui {
00020
00021 class stretch_painter : public painter_base, public painter_holder
00022 {
00023 public:
00024 typedef const rectangle& param0;
00025 typedef COLORREF param1;
00026
00027
00028 stretch_painter(const rectangle& rc_stretch, COLORREF cr_not_used = RGB(255, 0, 255));
00029
00030
00031 stretch_painter* clone() const;
00032 void draw(HDC hDC, int cx, int cy);
00033
00034
00035 void stretched_rect(const rectangle& rc_stretch);
00036 rectangle stretched_rect() const;
00037
00038 private:
00039 rectangle rc_stretch_;
00040 COLORREF cr_not_used_;
00041 };
00042
00043 } }