desktop code refactoring
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
17
src/ui/Matrix.h
Normal file
17
src/ui/Matrix.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "model/Window.h"
|
||||
|
||||
class Matrix {
|
||||
public:
|
||||
explicit Matrix(Window* window);
|
||||
|
||||
[[nodiscard]] Window* window() const;
|
||||
|
||||
void render() const;
|
||||
|
||||
private:
|
||||
void draw_colored_grid(int rows, int cols, float cellSize, float spacing) const;
|
||||
|
||||
Window* m_window;
|
||||
};
|
Reference in New Issue
Block a user