SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations > SageMC Custom Interface
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-12-2008, 02:15 PM
TBacker's Avatar
TBacker TBacker is offline
Sage Advanced User
 
Join Date: Nov 2006
Location: North Syracuse, NY
Posts: 124
Combine Theme Settings Files?

I may have asked this before, but what is the logic behind having separate theme.properties and layout files?

It would seem easier to package a theme if these were combined into one file and kept in the theme folder.

Just curious. It makes for extra steps in both creating/tweaking themes, and loading themes (load the theme, then find the appropriate layout and load it, etc.)

Tim
Reply With Quote
  #2  
Old 07-12-2008, 05:23 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
theme.properties control graphic-type items in a theme. Examples: background color of a dialog box, the scaling inest used for those graphics when a different resolution is used, EPG colors. For my SagePro MC theme I use it to define two different background screens-one for the main menu and another for the rest.


The .layout files will actually define where Sage widgets might be located on screen and how big they are. Example: Recent and Upcoming Recording widget list-where they are and how big, what size fonts they use, etc. It also controls the menu layout. And more.

Both of these files are text and can be opened with notepad so take a look. theme.properties is a derivative of the core theme.properties and were created way before the .layout file capabilities in SageMC and is specific to that STV.

And just to throw another file into the mix, the Dynamic Menu system by Nielm is used by his plugin in the default STV and is built into SageMC. Whenever you change or add a menu item to it that gets saved to the sagemc_menu.xml in SageMC and in the default_menu_V6_3.xml in the default STV.

These different solutions were created by different plugin authors to be creative solutions to make it easier for the end user to change the look of SageTV without resorting to Studio. Who knows, maybe one day they may all become part of the core.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.

Last edited by gplasky; 07-12-2008 at 05:26 PM.
Reply With Quote
  #3  
Old 07-13-2008, 09:09 AM
TBacker's Avatar
TBacker TBacker is offline
Sage Advanced User
 
Join Date: Nov 2006
Location: North Syracuse, NY
Posts: 124
Yeah, I understood the functions of the files. I was just thinking it would be nice if they were consolidated.

I don't think I would consolidate the dynamic menu file, though, as that is something you wouldn't want overwritten when you load a theme.

Anyway, I know the MC to-do list is log with bigger priorities.

Here's to Me In Maui's recovery and more great things to come!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageMC Theme: Foofaraw grooves12 SageMC Custom Interface 61 03-07-2009 04:40 PM
Some SageMC Theme questions jbarr SageMC Custom Interface 3 05-22-2007 12:41 PM
xml and (dot).my and sage imported files Homebuilder SageTV Customizations 5 07-30-2006 11:19 AM


All times are GMT -6. The time now is 06:36 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.