- Replace header include guards with `#pragma once` and perform minor optimizations. - Replaced traditional include guards with `#pragma once` for simplicity and to reduce boilerplate in all headers. - Improved CLI line number handling with clamping and error messaging. - Enhanced `chdir` error handling for macOS GUI builds. - Removed redundant logic for GUI builds. - Adjusted font constructor and registry to handle `const` data pointers consistently.
13 lines
170 B
C++
13 lines
170 B
C++
/*
|
|
* Renderer.h - rendering abstraction
|
|
*/
|
|
#pragma once
|
|
|
|
class Editor;
|
|
|
|
class Renderer {
|
|
public:
|
|
virtual ~Renderer() = default;
|
|
|
|
virtual void Draw(Editor &ed) = 0;
|
|
}; |