Initialization.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #pragma once
  2. #include <Button.h>
  3. #include <Diagram.h>
  4. #include <Image.h>
  5. #include <initializer_list>
  6. #include <Progress.h>
  7. #include <SelectionBox.h>
  8. #include <Table.h>
  9. #include <UIInitialization.h>
  10. using namespace Framework;
  11. struct OBJTabelleSpalteIni
  12. {
  13. const char* name;
  14. int breite;
  15. int minBreite;
  16. int maxBreite;
  17. };
  18. Button* createButton(const Framework::UIInitParam& params);
  19. TextField* createTextField(const Framework::UIInitParam& params);
  20. CheckBox* createCheckBox(const Framework::UIInitParam& params);
  21. ObjTable* createObjTable(const Framework::UIInitParam& params);
  22. Window* createWindow(const Framework::UIInitParam& params);
  23. Button* initButton(
  24. int x, int y, int br, int height, __int64 style, const char* titel);
  25. CheckBox* initCheckBox(
  26. int x, int y, int br, int height, __int64 style, const char* txt);
  27. TextField* initTextField(
  28. int x, int y, int br, int height, __int64 style, const char* txt);
  29. ImageView* initImageView(
  30. int x, int y, int br, int height, __int64 style, Image* b);
  31. SelectionBox* initSelectionBox(int x,
  32. int y,
  33. int br,
  34. int height,
  35. __int64 style,
  36. std::initializer_list<const char*> values);
  37. ObjTable* initObjTable(int x,
  38. int y,
  39. int br,
  40. int height,
  41. __int64 style,
  42. std::initializer_list<OBJTabelleSpalteIni> spalten,
  43. int titleHeight);
  44. LineDiagram* initLinieDiagram(
  45. int x, int y, int br, int height, __int64 style, DiagramData* data);
  46. ProgressBar* initProgressBar(int x, int y, int br, int height, __int64 style);