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

new GUI framework #41

Open
mmagnuski opened this issue Sep 2, 2014 · 1 comment
Open

new GUI framework #41

mmagnuski opened this issue Sep 2, 2014 · 1 comment

Comments

@mmagnuski
Copy link
Owner

  1. avoid using GUIDE

  2. write GUIs as objects - it eases up many things like graphical updates, syncing etc.

  3. Externalize local functions that make sense to be used publicly

    for example - move winreject_refresh(h) out of winreject
    or - even better make refresh a pulic method of winreject object

  4. Use linkfun_ prefix for functions that interface between GUIs (link functions).

    for example - a function that opens up multiedit_gui, sets relevant callbacks, validates output and updates main GUI would be a link function

  5. have a clear structure in guidata (winreject has its guidata quite messy - this will be changed)

  6. guidata should only store handles to figure objects, all other data should be setappdata and getappdata

@mmagnuski
Copy link
Owner Author

Some far-fetched, but related tasks:

  • make winreject an object
  • rewrite comp_explore as an object
  • consider changing compsel to object
  • move the comment above to 'how to contribute' section

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

No branches or pull requests

1 participant