*** empty log message ***
[desktopswitcher.git] / shadowwindow.h
blob5e0e319adc27f5b98fd16acb6ceb8840bed9266c
1 // $Id: shadowwindow.h,v 1.1 2002/05/29 22:06:50 nedko Exp $
2 //
3 // Desktop Switcher
4 // Copyright (C) 2000,2001,2002 Nedko Arnaudov <nedko@users.sourceforge.net>
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 2 of the License, or
9 // (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #ifndef SHADOWWINDOW_H__9739a257_5c6d_431a_a177_b2c16294366c___INCLUDED
21 #define SHADOWWINDOW_H__9739a257_5c6d_431a_a177_b2c16294366c___INCLUDED
23 class CSwitcherWindow;
25 class CShadowWindow : public CWindowImpl <CShadowWindow>
27 public:
28 CShadowWindow(CSwitcherWindow *pWndSource);
29 ~CShadowWindow();
31 void Move(unsigned int x, unsigned int y);
33 BEGIN_MSG_MAP(CShadowWindow)
34 MESSAGE_HANDLER(WM_PAINT,OnPaint)
35 END_MSG_MAP()
37 protected:
38 LRESULT OnPaint(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
40 private:
41 int m_nWidth;
42 int m_nHeight;
43 CSwitcherWindow *m_pWndSource;
46 #endif // #ifdef SHADOWWINDOW_H__9739a257_5c6d_431a_a177_b2c16294366c___INCLUDED