Example #1
0
 void Win32WindowElement::Draw(GraphicsContext *graphics) {
     std::vector<Node *> *elements = this->getChildNodes();
     for (std::vector<Node *>::iterator it = elements->begin(); it != elements->end(); ++it) {
         Node *node = (Node *)*it;
         Element *elm = static_cast<Element *>(node);
         if (elm->isVisible())
             elm->Draw(0, 0, graphics);
     }
 }