mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 12:59:14 +12:00
Qt: Shader editor now works
This commit is contained in:
parent
d87477832b
commit
186fd3b94b
6 changed files with 63 additions and 35 deletions
|
@ -17,12 +17,11 @@ class ShaderEditorWindow : public QDialog {
|
|||
Zep::IZepReplProvider replProvider;
|
||||
static constexpr float fontSize = 14.0f;
|
||||
|
||||
// Whether this backend supports shader editor
|
||||
bool shaderEditorSupported = true;
|
||||
|
||||
public:
|
||||
// Whether this backend supports shader editor
|
||||
bool supported = true;
|
||||
|
||||
ShaderEditorWindow(QWidget* parent, const std::string& filename, const std::string& initialText);
|
||||
void setText(const std::string& text) { zepWidget.GetEditor().GetMRUBuffer()->SetText(text); }
|
||||
|
||||
void setEnable(bool enable);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue