Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8360 in orxonox.OLD for trunk/src/lib/graphics/render2D/element_2d.h


Ignore:
Timestamp:
Jun 14, 2006, 9:46:00 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: more performant Element2D'drawer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/render2D/element_2d.h

    r8035 r8360  
    6969  // VISIBILITY/ACTIVITY
    7070  E2D_HIDE_CHILDREN_IF_HIDDEN        = 0x1000,    //!< Prohibits the Children from being drawn if this node isn't visible. (used for Draw))
    71   E2D_HIDE_IF_PARENT_HIDDEN          = 0x2000,    //!< Prohibits the node from being drawn if the Parent is invisible.
     71  //E2D_HIDE_IF_PARENT_HIDDEN          = 0x2000,    //!< Prohibits the node from being drawn if the Parent is invisible.
    7272  E2D_UPDATE_CHILDREN_IF_INACTIVE    = 0x4000,    //!< Updates the Children of this Node even if the Parent is Inactive (note if this's parent is inactive children won't be updated.)
    7373  E2D_STATIC_NODE                    = 0x8000,    //!< Used for nodes that do not have any moving children, and that do not move.
     
    139139    void tick2D(float dt);
    140140    void draw2D(E2D_LAYER from, E2D_LAYER to) const;
     141    void drawChildren(E2D_LAYER from, E2D_LAYER to) const;
    141142
    142143    // LIKE PNODE
     
    216217
    217218    void debug2D (unsigned int depth = 1, unsigned int level = 0) const;
    218     void debug2DSC (unsigned int depth = 1, unsigned int level = 0) { this->debug2D(depth, level); }; // Wrapping Function for ShellCommand.
    219219    void debugDraw2D(unsigned int depth = 1, float size = 1.0, Vector color = Vector(1,0,0), unsigned int level = 0) const;
    220220
Note: See TracChangeset for help on using the changeset viewer.