Added aqua_speed for rite geo 50 tryker
[ryzomcore.git] / nel / tools / 3d / object_viewer / blend_wnd.h
blobb002b9c0f9fd3301b6b31319910c31cabd00cbaf
1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #ifndef NL_BLEND_WND_H
18 #define NL_BLEND_WND_H
20 #include "nel/misc/types_nl.h"
23 /**
24 * Window class for the dlg slot blend window
26 * \author Cyril 'Hulud' Corvazier
27 * \author Nevrax France
28 * \date 2001
30 class CBlendWnd
32 public:
34 /// Constructor
35 CBlendWnd();
37 // *** From CWnd
39 void OnPaint (const RECT& client, CDC* pDc, float StartBlend, float EndBlend, float StartBlendTime, float EndBlendTime,
40 float Smoothness, float StartTime, float EndTime, bool enabled);
42 private:
43 // Build a rect
44 void MakeRect (const RECT& src, RECT& dst, float x, float y, float width, float height);
46 // Build a point
47 void MakePoint (const RECT& src, POINT& dst, float x, float y);
51 #endif // NL_BLEND_WND_H
53 /* End of blend_wnd.h */