Sha256: fde770bf6fbbdd51082428edbe51933e786cac1c5392da6c0fcbd4f23f98ad0c
Contents?: true
Size: 854 Bytes
Versions: 25
Compression:
Stored size: 854 Bytes
Contents
// -*- c++ -*- #pragma once #ifndef __REFLEX_SRC_SHAPE_H__ #define __REFLEX_SRC_SHAPE_H__ #include <xot/util.h> #include "reflex/shape.h" class b2Shape; namespace Reflex { class WallShape : public Shape { typedef Shape Super; public: enum Position { LEFT = Xot::bit(0), TOP = Xot::bit(1), RIGHT = Xot::bit(2), BOTTOM = Xot::bit(3), ALL = LEFT | TOP | RIGHT | BOTTOM };// Position enum {DEFAULT_THICKNESS = 100}; WallShape (uint positions, coord thickness = DEFAULT_THICKNESS); virtual void on_draw (DrawEvent* e); };// WallShape bool Shape_set_owner (Shape* shape, View* owner); bool Shape_has_frame (const Shape& shape); void Shape_update (Shape* shape, bool force = false); void Shape_call_contact_event (Shape* shape, ContactEvent* event); }// Reflex #endif//EOH
Version data entries
25 entries across 25 versions & 1 rubygems