forked from mia/Aegisub
Rearrange context.h
Originally committed to SVN as r5208.
This commit is contained in:
parent
7210ea17d8
commit
9f25b51a54
1 changed files with 18 additions and 14 deletions
|
@ -1,33 +1,37 @@
|
||||||
class wxWindow;
|
class AssFile;
|
||||||
class DialogStyling;
|
|
||||||
class AudioBox;
|
class AudioBox;
|
||||||
class AudioController;
|
class AudioController;
|
||||||
class DialogDetachedVideo;
|
class DialogDetachedVideo;
|
||||||
class AssFile;
|
class DialogStyling;
|
||||||
namespace Automation4 { class ScriptManager; }
|
|
||||||
class SubsEditBox;
|
class SubsEditBox;
|
||||||
class SubtitlesGrid;
|
class SubtitlesGrid;
|
||||||
class VideoBox;
|
class VideoBox;
|
||||||
class VideoContext;
|
class VideoContext;
|
||||||
|
class wxWindow;
|
||||||
|
namespace Automation4 { class ScriptManager; }
|
||||||
|
|
||||||
namespace agi {
|
namespace agi {
|
||||||
|
|
||||||
struct Context {
|
struct Context {
|
||||||
// Frames
|
// Models
|
||||||
wxWindow *parent;
|
|
||||||
|
|
||||||
DialogStyling *stylingAssistant;
|
|
||||||
|
|
||||||
AudioBox *audioBox;
|
|
||||||
AudioController *audioController;
|
|
||||||
DialogDetachedVideo *detachedVideo;
|
|
||||||
AssFile *ass;
|
AssFile *ass;
|
||||||
Automation4::ScriptManager *local_scripts;
|
Automation4::ScriptManager *local_scripts;
|
||||||
wxWindow *PreviousFocus;
|
|
||||||
|
// Controllers
|
||||||
|
AudioController *audioController;
|
||||||
|
VideoContext *videoContext;
|
||||||
|
|
||||||
|
// Things that should probably be in some sort of UI-context-model
|
||||||
|
wxWindow *parent;
|
||||||
|
wxWindow *previousFocus;
|
||||||
|
|
||||||
|
// Views (i.e. things that should eventually not be here at all)
|
||||||
|
AudioBox *audioBox;
|
||||||
|
DialogDetachedVideo *detachedVideo;
|
||||||
|
DialogStyling *stylingAssistant;
|
||||||
SubsEditBox *EditBox;
|
SubsEditBox *EditBox;
|
||||||
SubtitlesGrid *SubsGrid;
|
SubtitlesGrid *SubsGrid;
|
||||||
VideoBox *videoBox;
|
VideoBox *videoBox;
|
||||||
VideoContext *videoContext;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue