Changeset f63aa57 in network-game for client/Client/Window.cpp


Ignore:
Timestamp:
Dec 27, 2013, 5:57:25 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
9bfc1cb
Parents:
cbc70eb
Message:

The old Game window has been completely removed from the client and the client frees all gui components on its own, instead of relying on the Window destructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/Client/Window.cpp

    rcbc70eb rf63aa57  
    88Window::~Window(void)
    99{
    10    for(unsigned int x=0; x<this->vctGui.size(); x++)
    11       delete this->vctGui[x];
    1210}
    1311
    14 void Window::addComponent(GuiComponent *comp)
     12GuiComponent* Window::addComponent(GuiComponent* comp)
    1513{
    1614   this->vctGui.push_back(comp);
     15   return comp;
    1716}
    1817
Note: See TracChangeset for help on using the changeset viewer.