0003201: Refactor of plugin code; renaming of GUIFacadeContro.ViewMode to GUIFacadeCo (1 Viewer)

MediaPortal-Bot

Worlds greatest bot!
March 26, 2007
3,715
180
Home Country
Germany Germany
Many of the internal plugins have the same duplicate code which makes adding a feature for all plugins a tedious task. All this duplicate code should be consolidated into a shared base class.

Additionally, there's always been a confusion with the GUIFacadeControl, as internally, in code, it's called 'ViewMode', but in UI it's called 'Layouts', and is also confused with the Switch View (DB View) that most plugin implement.
Renaming 'ViewMode' to 'Layout' promotes consistency between code and UI and removes confusion.

http://mantis.team-mediaportal.com/view.php?id=3201

Open the issue in Mantis...
 

Users who are viewing this thread

Top Bottom