Code Monkey home page Code Monkey logo

Comments (5)

uxmal avatar uxmal commented on August 28, 2024

I'm not too keen on popping up user interfaces in the user's face. Rather, in the project browser, let's consider adding a new treenode, a child of the executable, which would be labelled AmigaOS or what have you. Each platform can then have its own custom user interface which could accept user data and persist it in the *.dcproj file.

I can mock this up in the "gui-development" branch over the weekend, so you can take a look.

from reko.

uxmal avatar uxmal commented on August 28, 2024

Revision 76ad42d of the "gui-development" branch now shows the Platform in the project browser. If the platform is AmigaOS, the Platform will be clickable and show some UI, You can add controls on the AmigaOSProperties user control and react to changes by saving them to the instance of AmigaOSPlatform in the AmigaOSPropertiesInteractor class.

@nemerle , @halsten , open up a file from ~/subjects/Hunk-m68k and let me know what you think.

from reko.

uxmal avatar uxmal commented on August 28, 2024

@nemerle: you will need to add the requisite properties to the AmigaOSPlatform and MsdosPlatform to store all these hardware configuration details. Then, the loading and saving of projects has to be modified to ask each platform to save / load platform specific options to/from an XmlTextWriter / XmlTextReader. The contents of this Xml will then be added to the .dcconfig file as an opaque blob.

I need some time to investigate how to save XML blobs to a file using XmlSerializer in an elegant way, In the meantime, you can work on the user interface I presented you, adding textboxes, comboboxes etc. to your heart's content

from reko.

uxmal avatar uxmal commented on August 28, 2024

@nemerle: commit ce1d57f added the virtual methods LoadUserOptions and SaveUserOptions to the Platform class. You're welcome to extend the AmigaOSPlatform class by overriding those methods and implementing the appropriate functionality. The AmigaOSPlatformDesigner user interface should save user changes into a Dictionary<string,object> which can be kept in the AmigaOSPlatform class.

from reko.

uxmal avatar uxmal commented on August 28, 2024

Both architectures and platforms have supported options for a while now.

from reko.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.