home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
Skinning contest: One month to go
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Albert" data-source="post: 670999" data-attributes="member: 67886"><p><strong>AW: Skinning contest: One month to go</strong></p><p></p><p>Please ask, if there are questions!</p><p></p><p>And yes, the structure with those "Include" elements is not described in the Wiki yet. It is one of those TODOs there. I know, we need much more documentation to make skinning for MP2 really easy. In the current state, you have to be patient and understand some concepts <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>Start taking your first steps using a screen like this:</p><p></p><p>[CODE]</p><p><?xml version="1.0" encoding="utf-8"?></p><p><Grid</p><p> xmlns="www.team-mediaportal.com/2008/mpf/directx"</p><p> xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"</p><p> ></p><p> <Grid.RowDefinitions></p><p> <RowDefinition Height="*"/></p><p> <RowDefinition Height="*"/></p><p> <RowDefinition Height="*"/></p><p> </Grid.RowDefinitions></p><p> <Grid.ColumnDefinitions></p><p> <ColumnDefinition Width="*"/></p><p> <ColumnDefinition Width="Auto"/></p><p> <ColumnDefinition Width="*"/></p><p> </Grid.ColumnDefinitions></p><p> <Label Grid.Row="0" Grid.Column="1"</p><p> HorizontalAlignment="Center" VerticalAlignment="Center"</p><p> Content="First row"/></p><p> <Button Grid.Row="1" Grid.Column="1" Style="{ThemeResource ButtonWideStyle}"</p><p> HorizontalAlignment="Center" VerticalAlignment="Center"</p><p> Content="Second row"/></p><p> <CheckBox Grid.Row="2" Grid.Column="1" Style="{ThemeResource CheckBoxStyle}"</p><p> HorizontalAlignment="Center" VerticalAlignment="Center"</p><p> Content="Third row"/></p><p></Grid></p><p>[/CODE]</p><p></p><p>Are you able to compile MediaPortal 2? If not, tell me, then I'll give you a runnable copy.</p><p>If yes, add the HelloWorld plugin from the Resources folder to the solution and run it. You'll see an additional "Hello world" menu entry which brings you to a simple screen.</p><p></p><p>You can use the file from above as replacement for the screen in the HelloWorld plugin.</p><p></p><p>While just trying out several things, you can just exchange the screen file (folder Plugins\HelloWorld\Skin\default\screens) while running MP2. the file will load every time again when you switch into the screen. So you can just press ESC to leave the screen and then use the "Hello world" menu button again.</p><p></p><p>When you read the MSDN docs about WPF, you should already got a good understanding of how XAML and MPF work.</p><p>Perhaps you can share your first tries here.</p><p></p><p>Have fun!</p></blockquote><p></p>
[QUOTE="Albert, post: 670999, member: 67886"] [b]AW: Skinning contest: One month to go[/b] Please ask, if there are questions! And yes, the structure with those "Include" elements is not described in the Wiki yet. It is one of those TODOs there. I know, we need much more documentation to make skinning for MP2 really easy. In the current state, you have to be patient and understand some concepts :-) Start taking your first steps using a screen like this: [CODE] <?xml version="1.0" encoding="utf-8"?> <Grid xmlns="www.team-mediaportal.com/2008/mpf/directx" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" > <Grid.RowDefinitions> <RowDefinition Height="*"/> <RowDefinition Height="*"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Label Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Content="First row"/> <Button Grid.Row="1" Grid.Column="1" Style="{ThemeResource ButtonWideStyle}" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Second row"/> <CheckBox Grid.Row="2" Grid.Column="1" Style="{ThemeResource CheckBoxStyle}" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Third row"/> </Grid> [/CODE] Are you able to compile MediaPortal 2? If not, tell me, then I'll give you a runnable copy. If yes, add the HelloWorld plugin from the Resources folder to the solution and run it. You'll see an additional "Hello world" menu entry which brings you to a simple screen. You can use the file from above as replacement for the screen in the HelloWorld plugin. While just trying out several things, you can just exchange the screen file (folder Plugins\HelloWorld\Skin\default\screens) while running MP2. the file will load every time again when you switch into the screen. So you can just press ESC to leave the screen and then use the "Hello world" menu button again. When you read the MSDN docs about WPF, you should already got a good understanding of how XAML and MPF work. Perhaps you can share your first tries here. Have fun! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
Skinning contest: One month to go
Contact us
RSS
Top
Bottom