| 1234567891011121314151617181920212223242526272829303132333435 |
- #pragma once
- #include <Fortschritt.h>
- #include <TextFeld.h>
- #include "Menu.h"
- #undef LoadMenu
- class ServerStatus;
- class FactoryClient;
- class LoadMenu : public Menu
- {
- private:
- FBalken* step;
- TextFeld* stepTitle;
- FBalken* stage;
- TextFeld* stageTitle;
- FBalken* all;
- public:
- LoadMenu(Bildschirm* zScreen);
- void load(FactoryClient* client,
- Text name,
- Text secret,
- unsigned short port,
- std::function<void(int, Text)> onFinish);
- void stepProgress(int stepSize);
- void beginNextStep(const char* title, int nextStepSize);
- void stageProgress(int stepSize);
- void beginNextStage(const char* title, int nextStageSize);
- void allProgress(int stepSize);
- };
- Bild* loadImage(Framework::Text path);
|