Difference between revisions of "Talk:Theme Management API"

From WebOS Internals
Jump to navigation Jump to search
(New page: The original idea is a bit lacking with regards to file path restrictions. If we are going to create a legit Theme API, we should do it right and start off with an easy to read and create...)
 
Line 2: Line 2:
  
 
=== Theme API Config File ===
 
=== Theme API Config File ===
 +
==== egaudet ====
 
<pre>
 
<pre>
 
launcherIcons:
 
launcherIcons:
Line 7: Line 8:
 
   appid: { icon = relative/path/to/icon };
 
   appid: { icon = relative/path/to/icon };
 
   appid: { icon = relative/path/to/icon };
 
   appid: { icon = relative/path/to/icon };
 +
};
 +
</pre>
 +
==== PuffTheMagic ====
 +
<pre>
 +
launcherIcons:
 +
{
 +
  com.palm.package1 = relative/path/to/icon1;
 +
  com.palm.package2 = relative/path/to/icon2;
 
};
 
};
 
</pre>
 
</pre>

Revision as of 04:48, 31 January 2010

The original idea is a bit lacking with regards to file path restrictions. If we are going to create a legit Theme API, we should do it right and start off with an easy to read and create config file. Let's discuss what this should look like

Theme API Config File

egaudet

launcherIcons:
{
  appid: { icon = relative/path/to/icon };
  appid: { icon = relative/path/to/icon };
};

PuffTheMagic

launcherIcons:
{
  com.palm.package1 = relative/path/to/icon1;
  com.palm.package2 = relative/path/to/icon2;
};