Codechange: be consistent in what CheckPaletteAnim() does and when it is called

Additionally, make sure this is a class method. Later commits
will make use of this.
This commit is contained in:
Patric Stout
2021-02-20 11:15:15 +01:00
committed by Patric Stout
parent 790fa7102e
commit ec1dd0bf61
10 changed files with 16 additions and 17 deletions

View File

@@ -76,6 +76,7 @@ protected:
float GetDPIScale() override;
void InputLoop() override;
void Paint() override;
void CheckPaletteAnim() override;
private:
bool PollEvent();
@@ -88,7 +89,6 @@ private:
bool MakeWindow(int width, int height);
void UpdatePalette(uint first_color, uint num_colors);
void CheckPaletteAnim();
void BlitIndexedToView32(int left, int top, int right, int bottom);
};