1
0
forked from mirrors/0ad
Files
0ad/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Environment/LightControl.h
T
Ykkrosh 397a350e45 svn:ignore auto-generated test .cpp files.
Territories: Fixed memory leaks.
Atlas: New section-toolbar. Fixed colour of brush grid. Moved open/save
into File menu. Added 3D-ish lighting control. Added 'busy'
notifications.

This was SVN commit r4079.
2006-07-12 14:49:10 +00:00

27 lines
602 B
C++

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