Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] CFileDialog and CFolderDialog rewrite #2

Open
sancarn opened this issue Jun 5, 2019 · 0 comments
Open

[Suggestion] CFileDialog and CFolderDialog rewrite #2

sancarn opened this issue Jun 5, 2019 · 0 comments

Comments

@sancarn
Copy link

sancarn commented Jun 5, 2019

Suggestions for inspiration:

CFileDialog and CFolderDialog are simply wrappers around FileSelectFile and FileSelectFolder

This seems fairly pointless in my opinion. It'd be much better if these were full extendable GUIs which you could customise with your own behaviours. E.G.

class MyFileDialog extends CFileDialog {
  specialButton := this.AddControl("Button","specialButton".""."Clicky")
  specialButton_click(){
    ;create some menu to choose some stuff... e.g. choose between file:///, ftp:// and http:// protocols.
  }
}

The GUI was build from the ground up in CGUI that would be amazing (and significantly more useful!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant