Screen names for GP3 Skins (en): Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
 
(11 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
{|width="40%"
 
{|width="40%"
 
  |[[Bild:deutsch.png]] - [[Screen Namen in GP3 Skins|in Deutsch]]
 
  |[[Bild:deutsch.png]] - [[Screen Namen in GP3 Skins|in Deutsch]]
  |[[Bild:english.png]] - [[Screen Name for GP3 Skins engl.|in English]]
+
  |[[Bild:english.png]] - [[Screen names for GP3 Skins (en)|in English]]
 
  |}  
 
  |}  
 +
This article is meant for all experienced skinners, who like to develop or mod skins for the GP3 plugin. The main focus of the article is to  find out the relevant screen names and to support people who are interested in developing or modding skins.
  
=== Changing Skins with GP3 ===
+
== Pre-Conditions==
 
 
__TOC__
 
==== Introduction====
 
This article is meant for all experienced skinners,<br/>
 
who like to develop or mod skins for the GP3 plugin.
 
 
 
 
 
==== Main focus of the article ====
 
* find out the relevant screen names
 
* Support people who are interested in developing or modding Skins
 
 
 
 
 
==== Pre-Conditions====
 
 
* Experience in Skin development [http://en.wikipedia.org/wiki/Modding Modding]  
 
* Experience in Skin development [http://en.wikipedia.org/wiki/Modding Modding]  
  
 
+
== Finding out the GP3 screen names ==
Back to [[#top | top]]
+
After installation of the GP3-plugins, you can find the file <code>skin.xml</code> in the directory:
 
+
<syntaxhighlight>
 
+
/usr/lib/enigma2/python/Plugins/Bp/geminimain  
==== Finding out the GP3 screen names ====
+
</syntaxhighlight>
 
 
After installation of the GP3-plugins, you can find the file skin.xml in
 
the directory:  
 
 
 
/usr/lib/enigma2/python/Plugins/Bp/geminimain  
 
 
 
 
This file contains the following items:
 
This file contains the following items:
  
 
* Infobar Renderer
 
* Infobar Renderer
* Basis Screen`s
+
* Basis Screens
* OLED Screen`s
+
* [[OLED]] Screens
  
 +
It is also helpful to amend the file <code>skin.py</code> in
 +
<syntaxhighlight>
 +
/usr/lib/enigma2/python
 +
</syntaxhighlight>
 +
as described below:
  
Back to [[#top | top]]
+
Search for the routine <code>readSkin</code> in <code>skin.py</code>.
 
 
 
 
It is also helpfull to amend the file '''skin.py''' in '''/usr/lib/enigma2/python''' as described below:
 
 
 
Search for the routine '''readSkin''' in '''skin.py'''.
 
 
 
You can find a for-loop in the routine some lines later starting with '''for n in names''':  (Approx. at line 424 )
 
  
 +
You can find a for-loop in the routine some lines later starting with <code>for n in names</code>:  (Approx. at line 524 )
 +
<syntaxhighlight>
 
  # try all skins, first existing one have priority  
 
  # try all skins, first existing one have priority  
 
  for n in names:
 
  for n in names:
Zeile 55: Zeile 37:
 
  print names
 
  print names
 
  break
 
  break
 +
</syntaxhighlight>
 +
Add the following line "print names" before the '''break''' entry and execute the following command in [[Telnet]] :
 +
<syntaxhighlight>
 +
init 4 && sleep 5 && einigma2
 +
</syntaxhighlight>
 +
If you now open the menus of the GP3 plugins and screens, the screen names will be printed in the console for each screen you open.
  
Add the following line "print names" before the '''break''' entry and execute the following command in Telnet [[Telnet]] :
+
e.g. <code>VariableList3Button_geminiweather</code>
 
 
init 4 && sleep 5 && einigma2
 
  
 
+
===Why should we do this?===
Back to [[#top | top]]
+
GP3 contains 9 basic screens used as User Interface in GP3:
 
 
 
 
If you now open the Menus of the GP3 plugins and screens, the screen names will be printed in the console for each screen you open.
 
 
 
e.g. '''VariableList3Button_geminiweather'''
 
 
 
Why should we do this?
 
 
 
GP3 contains 4 basic screens used as User Interface in GP3:
 
  
 
* Config2Button
 
* Config2Button
 +
* Config3Button
 +
* VariableList3Button
 +
* VariableList3ButtonSmallIcon
 +
* VariableList4Button
 
* VariableListNoButton
 
* VariableListNoButton
* VariableList4Button
+
* VariableList2Lines
* VariableList3Button
+
* VariableListCover
 +
* VList3Button2Entry
  
  
 
All GP3-Plugins that need a VariableList3Button screen, make use of the base screen.
 
All GP3-Plugins that need a VariableList3Button screen, make use of the base screen.
If you want to create a different screen for the Gemini weather plugin,  
+
If you want to create a different screen for the [[GP3_weather_(en)|Gemini weather plugin]],  
 
you will need the name of the screen in the plugin to create the according design.
 
you will need the name of the screen in the plugin to create the according design.
  
Zeile 87: Zeile 69:
 
Plugin screen for the Gemini weather plugin      --> VariableList3Button_geminiweather
 
Plugin screen for the Gemini weather plugin      --> VariableList3Button_geminiweather
  
You can compare this to the relation between skin.xml and [[skin_user.xml]].
+
You can compare this to the relation between <code>skin.xml</code> and <code>[[skin_user.xml]]</code>.
 
 
 
 
Back to [[#top | top]]
 
 
 
==== Known GP3 screen names ====
 
  
 +
== Known GP3 screen names ==
 
Please find a list of the currently known GP3 screen names:
 
Please find a list of the currently known GP3 screen names:
  
* gDesktopHD
+
* eCommander
 +
* EcmExtraWindow
 +
* EPGSearchView_SD
 +
* FullMediaInfos
 +
* gDesktop-HD
 +
* gVDesktop-HD
 +
* gDesktopIconbar-HD
 +
* gVDesktopIconbar-HD
 +
* gMultiMessageBox
 +
* GWeatherskin (*new*)
 +
* CWeatherstat
 
* Config2Button
 
* Config2Button
 +
* Config2Button_IconsFrames
 
* Config2Button_SatList
 
* Config2Button_SatList
 +
* Config2Button_Sensorfields
 
* Config2Button_gSimpleList
 
* Config2Button_gSimpleList
 +
* Config2BurronSmall
 
* VariableListNoButton
 
* VariableListNoButton
 
* VariableListNoButton_gMultiQuickButton
 
* VariableListNoButton_gMultiQuickButton
* VariableListNoButton_RssReader
+
* VariableListNoButton_RssReader (*new*)
 
* VariableListNoButton_MountPoints
 
* VariableListNoButton_MountPoints
 
* VariableListNoButton_InfoHardware
 
* VariableListNoButton_InfoHardware
 
* VariableListNoButton_KernelInfo
 
* VariableListNoButton_KernelInfo
 +
* PrioListSetup
 
* RssLister
 
* RssLister
* RssReader
+
* RssReader (*old*)
 
* RssView
 
* RssView
 
* VariableList4Button
 
* VariableList4Button
 
* VariableList2Lines
 
* VariableList2Lines
 +
* VariableList2Lines_Cmtp
 
* VariableList2Lines_gAddons
 
* VariableList2Lines_gAddons
 
* VariableList2Lines_gAddonsCat
 
* VariableList2Lines_gAddonsCat
 
* VariableList2Lines_BrowserFavo
 
* VariableList2Lines_BrowserFavo
 
* VariableList3Button
 
* VariableList3Button
* VariableList3Button_geminidreamnetcast
 
* VariableList3Button_WidgetXmlList
 
* VariableList3Button_WebCamViewer
 
* VariableList3Button_geminiweather
 
* PrioListSetup
 
 
* VariableList3Button_Automount
 
* VariableList3Button_Automount
* VariableList3Button_ProcessInfo
+
* VariableList3Button_DeviceManager
 +
* VariableList3Button_FilesystemManager
 
* VariableList3Button_GeminiConfList
 
* VariableList3Button_GeminiConfList
* VariableList3Button_DeviceManager
+
* VariableList3Button_geminidreamnetcast
 +
* VariableList3Button_geminiweather (*old*)
 +
* VariableList3Button_gMenu_confgDesktop
 
* VariableList3Button_PartitionsManager
 
* VariableList3Button_PartitionsManager
* VariableList3Button_gMenu_confgDesktop
+
* VariableList3Button_ProcessInfo
 
* VariableList3Button_Satconfig
 
* VariableList3Button_Satconfig
 +
* VariableList3Button_WidgetXmlList
 +
* VariableList3Button_WebCamViewer
 +
* VariableList3ButtonSmallIcon
 +
* VariableList3ButtonSmallIcon_cnetscan
 
* VariableListCover_gBrowser
 
* VariableListCover_gBrowser
* WeatherView
 
 
* Jukebox_XD
 
* Jukebox_XD
 
* Jukebox_HD
 
* Jukebox_HD
 
* Jukebox_SD  
 
* Jukebox_SD  
 
* HotplugScreen
 
* HotplugScreen
 +
* PrioListSetup
  
 
+
[[Kategorie:Enigma2 Skins (en)]]
'''Back to the overview:[[Gemini-Wiki:English_Portal]] or [[Mainpage]]'''
+
[[Kategorie:GP3 (en)]]

Aktuelle Version vom 12. März 2014, 20:18 Uhr

Deutsch.png - in Deutsch English.png - in English

This article is meant for all experienced skinners, who like to develop or mod skins for the GP3 plugin. The main focus of the article is to find out the relevant screen names and to support people who are interested in developing or modding skins.

Pre-Conditions

  • Experience in Skin development Modding

Finding out the GP3 screen names

After installation of the GP3-plugins, you can find the file skin.xml in the directory:

/usr/lib/enigma2/python/Plugins/Bp/geminimain

This file contains the following items:

  • Infobar Renderer
  • Basis Screens
  • OLED Screens

It is also helpful to amend the file skin.py in

/usr/lib/enigma2/python

as described below:

Search for the routine readSkin in skin.py.

You can find a for-loop in the routine some lines later starting with for n in names: (Approx. at line 524 )

 	# try all skins, first existing one have priority 
 	for n in names:
  		myscreen, path = lookupScreen(n, style_id)
 		if myscreen is not None:
 			# use this name for debug output
 			name = n
 			print names
 			break

Add the following line "print names" before the break entry and execute the following command in Telnet :

init 4 && sleep 5 && einigma2

If you now open the menus of the GP3 plugins and screens, the screen names will be printed in the console for each screen you open.

e.g. VariableList3Button_geminiweather

Why should we do this?

GP3 contains 9 basic screens used as User Interface in GP3:

  • Config2Button
  • Config3Button
  • VariableList3Button
  • VariableList3ButtonSmallIcon
  • VariableList4Button
  • VariableListNoButton
  • VariableList2Lines
  • VariableListCover
  • VList3Button2Entry


All GP3-Plugins that need a VariableList3Button screen, make use of the base screen. If you want to create a different screen for the Gemini weather plugin, you will need the name of the screen in the plugin to create the according design.

You get the proper screen names via the above described way.

Base screen for allp lugins that use this screen --> VariableList3Button Plugin screen for the Gemini weather plugin --> VariableList3Button_geminiweather

You can compare this to the relation between skin.xml and skin_user.xml.

Known GP3 screen names

Please find a list of the currently known GP3 screen names:

  • eCommander
  • EcmExtraWindow
  • EPGSearchView_SD
  • FullMediaInfos
  • gDesktop-HD
  • gVDesktop-HD
  • gDesktopIconbar-HD
  • gVDesktopIconbar-HD
  • gMultiMessageBox
  • GWeatherskin (*new*)
  • CWeatherstat
  • Config2Button
  • Config2Button_IconsFrames
  • Config2Button_SatList
  • Config2Button_Sensorfields
  • Config2Button_gSimpleList
  • Config2BurronSmall
  • VariableListNoButton
  • VariableListNoButton_gMultiQuickButton
  • VariableListNoButton_RssReader (*new*)
  • VariableListNoButton_MountPoints
  • VariableListNoButton_InfoHardware
  • VariableListNoButton_KernelInfo
  • PrioListSetup
  • RssLister
  • RssReader (*old*)
  • RssView
  • VariableList4Button
  • VariableList2Lines
  • VariableList2Lines_Cmtp
  • VariableList2Lines_gAddons
  • VariableList2Lines_gAddonsCat
  • VariableList2Lines_BrowserFavo
  • VariableList3Button
  • VariableList3Button_Automount
  • VariableList3Button_DeviceManager
  • VariableList3Button_FilesystemManager
  • VariableList3Button_GeminiConfList
  • VariableList3Button_geminidreamnetcast
  • VariableList3Button_geminiweather (*old*)
  • VariableList3Button_gMenu_confgDesktop
  • VariableList3Button_PartitionsManager
  • VariableList3Button_ProcessInfo
  • VariableList3Button_Satconfig
  • VariableList3Button_WidgetXmlList
  • VariableList3Button_WebCamViewer
  • VariableList3ButtonSmallIcon
  • VariableList3ButtonSmallIcon_cnetscan
  • VariableListCover_gBrowser
  • Jukebox_XD
  • Jukebox_HD
  • Jukebox_SD
  • HotplugScreen
  • PrioListSetup