- Add visual file picker for GUI with toggle support. - Introduce `GUIConfig` class for loading GUI settings from configuration file. - Refactor window initialization to support dynamic sizing based on configuration. - Add macOS-specific handling for fullscreen behavior. - Improve header inclusion order and minor code cleanup.
37 lines
531 B
C++
37 lines
531 B
C++
/*
|
|
* TestRenderer.h - minimal renderer for testing (no actual display)
|
|
*/
|
|
#ifndef KTE_TEST_RENDERER_H
|
|
#define KTE_TEST_RENDERER_H
|
|
|
|
#include <cstddef>
|
|
|
|
#include "Renderer.h"
|
|
|
|
|
|
class TestRenderer final : public Renderer {
|
|
public:
|
|
TestRenderer() = default;
|
|
|
|
~TestRenderer() override = default;
|
|
|
|
void Draw(Editor &ed) override;
|
|
|
|
|
|
[[nodiscard]] std::size_t GetDrawCount() const
|
|
{
|
|
return draw_count_;
|
|
}
|
|
|
|
|
|
void ResetDrawCount()
|
|
{
|
|
draw_count_ = 0;
|
|
}
|
|
|
|
private:
|
|
std::size_t draw_count_ = 0;
|
|
};
|
|
|
|
#endif // KTE_TEST_RENDERER_H
|