failed attempt at redrawing
This commit is contained in:
parent
e42c2dd6c9
commit
f84ddaef6c
8 changed files with 142 additions and 25 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include <QMainWindow>
|
||||
|
||||
#include "qtclasses.h"
|
||||
#include "global.h"
|
||||
|
||||
OverseerHandler *osh = new OverseerHandler();
|
||||
|
||||
|
|
@ -21,14 +22,14 @@ QApplication* createApplication(int &argc, char *argv[])
|
|||
int main (int argc, char* argv[]) {
|
||||
//QApplication::setStyle("windowsvista");
|
||||
//INIT CONT
|
||||
std::vector<Endpoint*> epts = OverseerHandler::getOverseer()->getPlaybackEndpoints();
|
||||
std::vector<Endpoint*> eps = OverseerHandler::getOverseer()->getPlaybackEndpoints();
|
||||
std::vector<EndpointHandler*>* ephs = new std::vector<EndpointHandler*>;
|
||||
for(unsigned int i = 0; i < epts.size(); i++){
|
||||
EndpointHandler *eph = new EndpointHandler(epts.at(i));
|
||||
for(unsigned int i = 0; i < eps.size(); i++){
|
||||
EndpointCallback* epc = new EndpointCallback();
|
||||
EndpointHandler* eph = new EndpointHandler(eps.at(i), epc);
|
||||
ephs->push_back(eph);
|
||||
}
|
||||
|
||||
osh->setEndpointHandlers(ephs);
|
||||
//INIT FRONT
|
||||
QScopedPointer<QApplication> app(createApplication(argc, argv));
|
||||
MainWindow window = MainWindow(ephs);
|
||||
|
|
@ -37,3 +38,4 @@ int main (int argc, char* argv[]) {
|
|||
window.show();
|
||||
return app->exec();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue