ACMX 2.139.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
editor.hpp File Reference

Shader text editor widgets with line numbers and GLSL highlighting. More...

#include "syntax.hpp"
#include <QCloseEvent>
#include <QDialog>
#include <QHash>
#include <QKeyEvent>
#include <QLabel>
#include <QMouseEvent>
#include <QPaintEvent>
#include <QPlainTextEdit>
#include <QStatusBar>
#include <QString>
#include <QStringList>
#include <QSyntaxHighlighter>
#include <QVector>
#include <QWidget>

Go to the source code of this file.

Classes

class  CustomTextEdit
 Plain-text editor with line numbers and code-editing helpers. More...
class  LineNumberArea
struct  ShaderDiagnostic
struct  ShaderEditorUniform
class  TextEditor
 Modal shader editor dialog used by ACMX2. More...

Enumerations

enum class  ShaderDiagnosticSeverity { Error , Warning , Note }

Functions

QString inject_safety_counters (const QString &glsl_source)
 Add bounded iteration guards and preserve original GLSL diagnostic lines.

Detailed Description

Shader text editor widgets with line numbers and GLSL highlighting.

Definition in file editor.hpp.

Enumeration Type Documentation

◆ ShaderDiagnosticSeverity

enum class ShaderDiagnosticSeverity
strong
Enumerator
Error 
Warning 
Note 

Definition at line 37 of file editor.hpp.

Function Documentation

◆ inject_safety_counters()