Added aqua_speed for rite geo 50 tryker
[ryzomcore.git] / nel / tools / 3d / tile_edit / select_rotation.cpp
blobdc94548b4ef81894bb4a4d5edf4b7ce74e99dfe0
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
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 #include "stdafx.h"
18 #include "tile_edit_exe.h"
19 #include "select_rotation.h"
21 #ifdef _DEBUG
22 #define new DEBUG_NEW
23 #undef THIS_FILE
24 static char THIS_FILE[] = __FILE__;
25 #endif
27 /////////////////////////////////////////////////////////////////////////////
28 // SelectRotation dialog
31 SelectRotation::SelectRotation(CWnd* pParent /*=NULL*/)
32 : CDialog(SelectRotation::IDD, pParent)
34 //{{AFX_DATA_INIT(SelectRotation)
35 // NOTE: the ClassWizard will add member initialization here
36 //}}AFX_DATA_INIT
40 void SelectRotation::DoDataExchange(CDataExchange* pDX)
42 CDialog::DoDataExchange(pDX);
43 //{{AFX_DATA_MAP(SelectRotation)
44 // NOTE: the ClassWizard will add DDX and DDV calls here
45 //}}AFX_DATA_MAP
49 BEGIN_MESSAGE_MAP(SelectRotation, CDialog)
50 //{{AFX_MSG_MAP(SelectRotation)
51 ON_BN_CLICKED(ID_ROT0, OnRot0)
52 ON_BN_CLICKED(ID_ROT1, OnRot1)
53 ON_BN_CLICKED(ID_ROT2, OnRot2)
54 ON_BN_CLICKED(ID_ROT3, OnRot3)
55 //}}AFX_MSG_MAP
56 END_MESSAGE_MAP()
58 /////////////////////////////////////////////////////////////////////////////
59 // SelectRotation message handlers
61 void SelectRotation::OnRot0()
63 // TODO: Add your control notification handler code here
64 RotSelected=0;
65 OnOK ();
68 void SelectRotation::OnRot1()
70 // TODO: Add your control notification handler code here
71 RotSelected=1;
72 OnOK ();
75 void SelectRotation::OnRot2()
77 // TODO: Add your control notification handler code here
78 RotSelected=2;
79 OnOK ();
82 void SelectRotation::OnRot3()
84 // TODO: Add your control notification handler code here
85 RotSelected=3;
86 OnOK ();