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 checklist #17

Open
DinkydauSet opened this issue Apr 10, 2021 · 1 comment
Open

New GUI checklist #17

DinkydauSet opened this issue Apr 10, 2021 · 1 comment

Comments

@DinkydauSet
Copy link
Owner

wanted:

  • tabs
  • number of inflections, zoom level, resolution and oversampling in the status bar
  • history per tab (ctrl+z and ctrl+y to navigate through it)
  • view history as a list of actions that have taken place
  • associate tabs with a file when loaded from a file and use ctrl+s to save that file
  • view parameter files in a list with icons that show a preview. The icons would require rendering the parameters to a small bitmap and keeping that bitmap in memory.
  • icons for history items as well
  • keep a separate history for the inflections, so that it's possible to zoom around and change the colors and then go back to a previous inflection without losing the color changes. It would be nice to save history as branches.
@DinkydauSet
Copy link
Owner Author

By using the attribute "hidden" tabs can also be made with HTML. A test:

<html>
  <body>
  
    <script>
    	window.thehidden = 2;
    	function onclickfunction() {
      	if (window.thehidden == 1) {
        	var elt1 = document.getElementById("1");
          var elt2 = document.getElementById("2");
          elt1.removeAttribute("hidden");
          elt2.hidden = true;
          window.thehidden = 2;
        }
        else {
        	var elt1 = document.getElementById("1");
          var elt2 = document.getElementById("2");
          elt2.removeAttribute("hidden");
          elt1.hidden = true;
          window.thehidden = 1;
        }
      }
    </script>
  
    <div height="100px">
      <button  onclick="onclickfunction()">
        click here
      </button>
    </div>
    <div id="main">
    
      <div id="1" width="100%", height="100%">
        <textarea>Input 1</textarea>
      </div>
      
      <div id="2" width="100%", height="100%" hidden>
        <textarea>Input 2</textarea>
      </div>
      
    </div>
  
  </body>
</html>

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