Changeset 5398 in orxonox.OLD for trunk/src/lib/graphics/render2D/element_2d.cc
- Timestamp:
- Oct 18, 2005, 6:28:54 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/render2D/element_2d.cc
r5397 r5398 113 113 this->setActiveness(true); 114 114 this->setAlignment(E2D_ALIGN_NONE); 115 this->layer = E2D_ TOP;115 this->layer = E2D_DEFAULT_LAYER; 116 116 this->bindNode = NULL; 117 117 … … 214 214 { 215 215 if (!strcmp(layer, "top")) 216 this->setLayer(E2D_ TOP);216 this->setLayer(E2D_LAYER_TOP); 217 217 else if (!strcmp(layer, "medium")) 218 this->setLayer(E2D_ MEDIUM);218 this->setLayer(E2D_LAYER_MEDIUM); 219 219 else if (!strcmp(layer, "bottom")) 220 this->setLayer(E2D_ BOTTOM);220 this->setLayer(E2D_LAYER_BOTTOM); 221 221 else if (!strcmp(layer, "below-all")) 222 this->setLayer(E2D_ BELOW_ALL);222 this->setLayer(E2D_LAYER_BELOW_ALL); 223 223 } 224 224
Note: See TracChangeset
for help on using the changeset viewer.