Browse Source

Improve readability and add a TODO to `ofxPiMapper.h`

master
Krisjanis Rijnieks 10 years ago
parent
commit
499f3ec475
  1. 11
      src/ofxPiMapper.h

11
src/ofxPiMapper.h

@ -16,7 +16,7 @@
namespace ofx { namespace ofx {
namespace piMapper { namespace piMapper {
class Application; class Application;
} }
} }
@ -27,6 +27,7 @@ class ofxPiMapper {
void setup(); void setup();
void draw(); void draw();
void registerFboSource(ofx::piMapper::FboSource & fboSource); void registerFboSource(ofx::piMapper::FboSource & fboSource);
bool loadXmlSettings(string fileName); bool loadXmlSettings(string fileName);
@ -35,8 +36,16 @@ class ofxPiMapper {
ofx::piMapper::SurfaceManager * getSurfaceManager(); ofx::piMapper::SurfaceManager * getSurfaceManager();
ofx::piMapper::Info * getInfo(); ofx::piMapper::Info * getInfo();
// TODO: Redesign ofxPiMapper so that there is a separation between
// data structures like triangle and quad surfaces and their GUIs.
// Trianlge and quad surfaces should be still able to draw themselves
// by using their individual draw methods. The GUI layer would consume
// triangle and quad surface lists to construct interactive user
// interface on top of them.
private: private:
bool _setupComplete; bool _setupComplete;
ofx::piMapper::CmdManager * _cmdManager; ofx::piMapper::CmdManager * _cmdManager;
ofx::piMapper::MediaServer * _mediaServer; ofx::piMapper::MediaServer * _mediaServer;
ofx::piMapper::SurfaceManager * _surfaceManager; ofx::piMapper::SurfaceManager * _surfaceManager;

Loading…
Cancel
Save