mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-22 01:55:25 -04:00
776ed8e5df
git-svn-id: svn://localhost@713 8062f311-0dae-4547-b526-b8ab9ac864a5
76 lines
2.7 KiB
C++
76 lines
2.7 KiB
C++
/**
|
|
|
|
Sound Object Extension
|
|
Copyright (c) 2011-2012 Thomas Flecy
|
|
|
|
This software is provided 'as-is', without any express or implied
|
|
warranty. In no event will the authors be held liable for any damages
|
|
arising from the use of this software.
|
|
|
|
Permission is granted to anyone to use this software for any purpose,
|
|
including commercial applications, and to alter it and redistribute it
|
|
freely, subject to the following restrictions:
|
|
|
|
1. The origin of this software must not be misrepresented; you must not
|
|
claim that you wrote the original software. If you use this software
|
|
in a product, an acknowledgment in the product documentation would be
|
|
appreciated but is not required.
|
|
|
|
2. Altered source versions must be plainly marked as such, and must not be
|
|
misrepresented as being the original software.
|
|
|
|
3. This notice may not be removed or altered from any source
|
|
distribution.
|
|
|
|
*/
|
|
#include "SoundInitialPositionPanel.h"
|
|
|
|
#if defined(GD_IDE_ONLY)
|
|
|
|
//(*InternalHeaders(SoundInitialPositionPanel)
|
|
#include <wx/intl.h>
|
|
#include <wx/string.h>
|
|
//*)
|
|
|
|
//(*IdInit(SoundInitialPositionPanel)
|
|
const long SoundInitialPositionPanel::ID_STATICTEXT1 = wxNewId();
|
|
const long SoundInitialPositionPanel::ID_TEXTCTRL1 = wxNewId();
|
|
//*)
|
|
|
|
BEGIN_EVENT_TABLE(SoundInitialPositionPanel,wxPanel)
|
|
//(*EventTable(SoundInitialPositionPanel)
|
|
//*)
|
|
END_EVENT_TABLE()
|
|
|
|
SoundInitialPositionPanel::SoundInitialPositionPanel(wxWindow* parent,wxWindowID id)
|
|
{
|
|
//(*Initialize(SoundInitialPositionPanel)
|
|
wxFlexGridSizer* FlexGridSizer2;
|
|
wxStaticBoxSizer* StaticBoxSizer1;
|
|
wxFlexGridSizer* FlexGridSizer1;
|
|
|
|
Create(parent, id, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, _T("id"));
|
|
FlexGridSizer1 = new wxFlexGridSizer(0, 3, 0, 0);
|
|
StaticBoxSizer1 = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Objet son"));
|
|
FlexGridSizer2 = new wxFlexGridSizer(0, 3, 0, 0);
|
|
StaticText1 = new wxStaticText(this, ID_STATICTEXT1, _("Position Z :"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT1"));
|
|
FlexGridSizer2->Add(StaticText1, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
|
zPositionTextCtrl = new wxTextCtrl(this, ID_TEXTCTRL1, _("0"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL1"));
|
|
FlexGridSizer2->Add(zPositionTextCtrl, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
|
StaticBoxSizer1->Add(FlexGridSizer2, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
|
|
FlexGridSizer1->Add(StaticBoxSizer1, 1, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
|
|
SetSizer(FlexGridSizer1);
|
|
FlexGridSizer1->Fit(this);
|
|
FlexGridSizer1->SetSizeHints(this);
|
|
//*)
|
|
}
|
|
|
|
SoundInitialPositionPanel::~SoundInitialPositionPanel()
|
|
{
|
|
//(*Destroy(SoundInitialPositionPanel)
|
|
//*)
|
|
}
|
|
|
|
#endif
|
|
|