WPGTK Dialog Porting

From LSDevLinux
Jump to: navigation, search

Contents

Intro

There are three classes of dialog related to the WorldPadGTK port.

  • There are new C# dialogs that TE uses and WPGTK can use as well. These will be converted from C#SWF code+hooks to GTK# code+hooks, and will use a Glade UI. They will not use MVC, but will operate however they are currently implemented.
  • There are old C++ dialogs that are specific to WorldPad. These will use a Glade UI and be converted to GTK# code+hooks. They will use MVC.
  • There are old C++ dialogs that are part of AppCore. These will use a Glade UI and be converted to GTK# code+hooks. They will use MVC.

When there are new C#SWF dialogs that are also implemented as C++ dialogs, the C#SWF implementations will be preferred (if sensible), for porting to GTK#. This is because it will be reusable by TE, and it may be easier to do for WPGTK as well.

Table

Dialog name Where in UI File location in C#SWF File location in WPC++ File location in AppCoreC++ Will use MVC or FW-style? Glade status Code status
Writing System (selector, applyer) Format ▸ Writing System WpFormatWsDlg.{cpp,h} MVC (converted, or normal?)  ?
Options Tools ▸ Options MVC
Writing System Properties Tools ▸ Writing System Properties Src/FwCoreDlgs/WritingSystemPropertiesDialog.cs FW