X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMain.hh;h=aa4a0d9c028409bf75c3210f5b897f22cdf1a311;hp=b6a6684aa46ffa4db559b1aaeefe96a427ccefa8;hb=831f04d4bc19a390415ac0bbac4331c7a65509bc;hpb=299af4f2047e767e5d79501c26444473bda64c64 diff --git a/src/Main.hh b/src/Main.hh index b6a6684..aa4a0d9 100644 --- a/src/Main.hh +++ b/src/Main.hh @@ -22,30 +22,30 @@ #include -#include -#include -#include +#include +#include +#include -namespace Mf +namespace moof { - class Settings; - class View; + class settings; + class view; } class Main; typedef boost::shared_ptr
MainP; -class Main : public Mf::View +class Main : public moof::view { public: - Main(Mf::Settings& settings, Mf::Video& video); + Main(moof::settings& settings, moof::video& video); - void update(Mf::Scalar t, Mf::Scalar dt); - void draw(Mf::Scalar alpha) const; - bool handleEvent(const Mf::Event& event); + void update(moof::scalar t, moof::scalar dt); + void draw(moof::scalar alpha) const; + bool handle_event(const moof::event& event); static std::string getSearchPath(); static std::string getConfigPath(); @@ -60,7 +60,7 @@ private: */ static void setupGL(); - Mf::Dispatch::Handle mNewContextDispatch; + moof::dispatcher::handle mNewContextDispatch; };