mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
[Qt] Add capability to load scripts from files
This commit is contained in:
parent
c30fbd3801
commit
7c6b498918
4 changed files with 38 additions and 2 deletions
|
@ -59,6 +59,7 @@ class MainWindow : public QMainWindow {
|
|||
|
||||
void swapEmuBuffer();
|
||||
void emuThreadMainLoop();
|
||||
void selectLuaFile();
|
||||
void selectROM();
|
||||
void dumpRomFS();
|
||||
void openLuaEditor();
|
||||
|
|
|
@ -19,4 +19,5 @@ class TextEditorWindow : public QDialog {
|
|||
|
||||
public:
|
||||
TextEditorWindow(QWidget* parent, const std::string& filename, const std::string& initialText);
|
||||
void setText(const std::string& text) { zepWidget.GetEditor().GetMRUBuffer()->SetText(text); }
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue