ScaleComponent.h 590 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #include "EmulatorComponent.h"
  3. #include "GameState.h"
  4. namespace TLAC::Components
  5. {
  6. class ScaleComponent : public EmulatorComponent
  7. {
  8. public:
  9. ScaleComponent();
  10. ~ScaleComponent();
  11. virtual const char* GetDisplayName() override;
  12. virtual void Initialize(ComponentsManager*) override;
  13. virtual void Update() override;
  14. virtual void UpdateInput() override;
  15. const int updatesPerFrame = 39;
  16. float* uiAspectRatio;
  17. float* uiWidth;
  18. float* uiHeight;
  19. int* fb1Width;
  20. int* fb1Height;
  21. int* fb2Width;
  22. int* fb2Height;
  23. double* fbAspectRatio;
  24. private:
  25. };
  26. }