ofxPiMapper fixed for C++17 & oF 12.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

51 lines
920 B

#pragma once
#include "ofEvents.h"
#include "ofLog.h"
#include "ofxPiMapper.h"
#include "SetApplicationStateCmd.h"
#include "ApplicationBaseState.h"
#include "PresentationState.h"
#include "ProjectionMappingState.h"
#include "TextureMappingState.h"
#include "SourceSelectionState.h"
// TODO: To be removed.
#include "GuiMode.h"
class ofxPiMapper;
namespace ofx {
namespace piMapper {
class ApplicationBaseState;
class Application {
public:
Application(ofxPiMapper * opm);
~Application();
ApplicationBaseState * getState();
ofxPiMapper * getOfxPiMapper(); // Temporary method.
void draw();
void onKeyPressed(ofKeyEventArgs & args);
protected:
void setState(ApplicationBaseState * st);
private:
friend class ApplicationBaseState;
friend class SetApplicationStateCmd;
ApplicationBaseState * _state;
ofxPiMapper * _ofxPiMapper;
};
} // namespace piMapper
} // namespace ofx