Lines Matching defs:layer
110 Layer::AddLayer(Layer* layer)// we already have
112 if( layer->fParent != NULL ) {
117 layer->fParent = this;
120 fBottom = layer;
121 fTop = layer;
124 fBottom->fLower = layer;
125 layer->fUpper = fBottom;
126 fBottom = layer;
130 Layer::RemLayer(Layer* layer)// we already have
132 if(!layer->fParent || layer->fParent != this) {
137 layer->fParent = NULL;
139 if(fTop == layer)
140 fTop = layer->fLower;
142 if(fBottom == layer )
143 fBottom = layer->fUpper;
145 if(layer->fUpper != NULL)
146 layer->fUpper->fLower = layer->fLower;
148 if(layer->fLower != NULL)
149 layer->fLower->fUpper = layer->fUpper;
151 layer->fUpper = NULL;
152 layer->fLower = NULL;
154 layer->clear_visible_regions(); // TAKE
395 // include layer's visible region in case we want a full update on resize
436 // offset to layer's new location so that we can calculate the common region.
442 // by intersecting the old fullVisible offseted to layer's new location, with the current
545 // no point in continuing if this layer is hidden. starting from here, all
562 // if the resulted region is not valid, this layer is not in the catchment area
577 // this is to allow a layer to hide some parts of itself so children
597 // the visible region of this layer is what left after all its children took