summaryrefslogtreecommitdiff
path: root/src/port/ui/TrackProperties.h
blob: d08560bf98e62df097b110df9e88ab45cb915e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once

#include <libultraship/libultraship.h>

extern "C" {
#include "sounds.h"
}

namespace TrackEditor {
class TrackPropertiesWindow : public Ship::GuiWindow {
public:
    using Ship::GuiWindow::GuiWindow;

    ~TrackPropertiesWindow();
protected:
    void InitElement() override {};
    void DrawElement() override;
    void DrawResourceNameEdit();
    void DrawMusic();
    void DrawFog();
    void DrawLight();
    void UpdateElement() override {};
    void RGB8ToFloat(const u8* src, float* dst);
    void FloatToRGB8(const float* src, u8* dst);
    const char* MusicSeqToString(MusicSeq seq);
    void DrawTourCamera();
      static int32_t SelectedShot;
      static int32_t SelectedKeyframe;
};
}