58#ifndef GTKMM_KAGE_DOCUMENT_H
59 #define GTKMM_KAGE_DOCUMENT_H
65 #include "../util/string/stringhelper.h"
67 #include <gdkmm/color.h>
96 unsigned int openScene(
string p_filepath);
Definition: document.h:84
bool openProject()
Definition: document.cpp:76
bool isSaved()
Definition: document.cpp:97
unsigned int openScene(string p_filepath)
Definition: document.cpp:57
unsigned int getActiveLayerID()
Definition: document.cpp:104
unsigned int frameCount()
Definition: document.cpp:131
void setProjectInformation(KageProject p_project)
Definition: document.cpp:49
bool _saved
Definition: document.h:86
vector< Asset > Assets
Definition: document.h:115
unsigned int _activeSceneID
Definition: document.h:87
bool saveScene(unsigned int p_sceneID)
Kage Document will contain several scenes. This will allow saving one Scene to be saved each time.
Definition: document.cpp:70
virtual ~KageDocument()
Definition: document.cpp:44
Kage * _kage
Definition: document.h:90
unsigned int getActiveFrameID()
Definition: document.cpp:107
static unsigned int ACTIVE_SCENE
Definition: document.h:119
void setCurrentFrame(unsigned int p_frame)
Definition: document.cpp:135
vector< KageScene > Scenes
Definition: document.h:118
AssetType
Definition: document.h:102
@ ASSET_KAGE
Definition: document.h:105
@ ASSET_IMAGE
Definition: document.h:103
@ ASSET_VIDEO
Definition: document.h:104
KageProject Project
Definition: document.h:89
bool saveProject()
Definition: document.cpp:80
unsigned int getActiveSceneID()
Definition: document.cpp:101
Definition: document.h:71
double _height
Definition: document.h:75
double _width
Definition: document.h:74
KageProject()
Definition: document.cpp:111
string _name
Definition: document.h:73
string toString()
Definition: document.cpp:123
unsigned int _fps
Definition: document.h:77
virtual ~KageProject()
Definition: document.cpp:119
ColorData _backgroundColor
Definition: document.h:76
Definition: document.h:108
string Name
Definition: document.h:112
unsigned int ID
Definition: document.h:109
string Path
Definition: document.h:111
AssetType Type
Definition: document.h:110