0ad/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Environment/LightControl.h
janwas b755ddefda remove all author/modified by tags.
make include guards consistent.

This was SVN commit r5040.
2007-05-07 16:33:24 +00:00

25 lines
625 B
C++

#ifndef INCLUDED_LIGHTCONTROL
#define INCLUDED_LIGHTCONTROL
#include "GameInterface/Messages.h"
#include "GameInterface/Shareable.h"
#include "General/Observable.h"
class LightSphere;
class LightControl : public wxPanel
{
public:
LightControl(wxWindow* parent, const wxSize& size, Observable<AtlasMessage::sEnvironmentSettings>& environment);
void OnSettingsChange(const AtlasMessage::sEnvironmentSettings& settings);
void NotifyOtherObservers();
private:
Observable<AtlasMessage::sEnvironmentSettings>& m_Environment;
ObservableScopedConnection m_Conn;
LightSphere* m_Sphere;
};
#endif // INCLUDED_LIGHTCONTROL