X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FEngine.hh;h=e49f44db853cbf30ca59539a5ab6f04bac64a1be;hp=a0c23002080ff5ef65fa1a336cedd1294e101a35;hb=a4debfe4a5f5d339410788971b698ba00cb7f09c;hpb=892da43bf5796e7c5f593a6d0f53bd797a36bd3e diff --git a/src/Moof/Engine.hh b/src/Moof/Engine.hh index a0c2300..e49f44d 100644 --- a/src/Moof/Engine.hh +++ b/src/Moof/Engine.hh @@ -61,10 +61,11 @@ struct Engine Video& getVideo() const; long getFrameRate() const; - void pushLayer(LayerP layer); - void popLayer(); - void popLayer(Layer* layer); - void clearLayers(); + void push(LayerP layer); + LayerP pop(); + // pops a specific layer and all layers above it + LayerP pop(Layer* layer); + void clear(); struct Exception : public Mf::Exception {