Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > Theme Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 02-13-2011, 11:44 AM
CrackBerry Addict
Device(s): Curve 8520!
Carrier: Du
 
Location: In a land far, far away...
Join Date: Oct 2010
Posts: 458
Likes Received: 0
Thanked 85 Times in 41 Posts
Default Composer Inefficiency

Hey guys, just a quick question.
How is Composer inefficient? What kind of extra code does it generate?
And how can you make the code more efficient?
Thanks!

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
  #2  
Old 02-13-2011, 01:46 PM
CrackBerry Genius of Geniuses
Device(s): OS6 9650, OS2 Playbook, CM9 NookColor, Rooted Kindle Fire, etc.
Carrier: Sprint/Nextel
Pin: http://goo.gl/NP1nC
 
Location: Utah (Back to School)
Join Date: Nov 2009
Posts: 6,878
Likes Received: 630
Thanked 989 Times in 497 Posts
Default

Huh?
Composer creates an SVG file - I don't think anything in there is just inefficient extra code, if that's what you're wondering.
Even if it did, I don't think removing it would make any difference.
Reply With Quote Tip this Post
  #3  
Old 02-13-2011, 02:05 PM
CrackBerry Master
Device(s): 9700 (Abalone)
Carrier: T-Mobile
Pin: her: down: on: a: photograph: album:
 
Location: 5280
Join Date: Mar 2008
Posts: 1,295
Likes Received: 287
Thanked 676 Times in 235 Posts
Default

Composer is horribly inefficient and generates tons of code that bloats up themes and is completely unnecessary.

That said, there's a lot to learn about what you can remove and what you should leave alone. Check the sticky in this forum on Undocumented SVG, and look at bbthemelab.com for guidance.
__________________
Themes by wu-wei
Premium: leeboUltraDock | blnk | sophie | ideal | Free: B@stard6 | leebo (OS6) | leebo (OS5)
Latest B@stard Hybrid OS
Abalone....Hybrid Install Guide....3rd Party App Backup Guide
Reply With Quote Tip this Post
  #4  
Old 02-13-2011, 02:28 PM
CrackBerry Genius of Geniuses
Device(s): OS6 9650, OS2 Playbook, CM9 NookColor, Rooted Kindle Fire, etc.
Carrier: Sprint/Nextel
Pin: http://goo.gl/NP1nC
 
Location: Utah (Back to School)
Join Date: Nov 2009
Posts: 6,878
Likes Received: 630
Thanked 989 Times in 497 Posts
Default

I stand corrected my hat is off to you Leigh.

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
  #5  
Old 02-13-2011, 02:36 PM
CrackBerry Master
Device(s): 9700 (Abalone)
Carrier: T-Mobile
Pin: her: down: on: a: photograph: album:
 
Location: 5280
Join Date: Mar 2008
Posts: 1,295
Likes Received: 287
Thanked 676 Times in 235 Posts
Default

Bah...I'm hardly a master. Lots of other developers in here know a heck of a lot more than me.

I've just created a few Composer docs and seen loads and loads of really silly junk come out when you create the SVG.
__________________
Themes by wu-wei
Premium: leeboUltraDock | blnk | sophie | ideal | Free: B@stard6 | leebo (OS6) | leebo (OS5)
Latest B@stard Hybrid OS
Abalone....Hybrid Install Guide....3rd Party App Backup Guide
Reply With Quote Tip this Post
  #6  
Old 02-14-2011, 09:10 AM
CrackBerry Genius
Device(s): iPhone 4s
Carrier: Verizon
 
Join Date: Nov 2009
Posts: 2,310
Likes Received: 88
Thanked 169 Times in 112 Posts
Default

Oh yes.. Composer is terrible.. Example:

here is the code for ONE app in the SVG - no animation edited added etc... just added ONE app and exported the svg:

12,107 charcters
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by BlackBerry Composer Version:  6.0.0.9  - Sep 19 2010 -->
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2000/svg http://www.plazmic.com/svg/schema/svg.xsd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:pz="http://www.plazmic.com/plazmic_extents"
 id="Untitled_10" xml:space="default" width="360" height="480" viewport-fill="#ffffff" viewBox="-180 -240 360 480" preserveAspectRatio="xMidYMid meet">
<g  id="Layer_1">
	<!-- pz:tag type="layer" -->
<g  id="Theme_Button_1"
	transform="translate(-62 -82)">
	<!-- pz:tag type="button" -->
<g  id="Theme_Button_1-Contents">
	<!-- pz:tag type="layer" -->
<g id="tabImage">
<image id="img_1_1_11"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/tabImage_img_1_1.png"/>
<image id="img_11_1_12"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/tabImage_img_1_1.png"	visibility="hidden"/>
<image id="img_21_1_13"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/tabImage_img_1_1.png"	visibility="hidden"/>
<image id="img_31_1_14"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/tabImage_img_1_1.png"	visibility="hidden"/>
</g>
<g id="tabFocusImage">
<image id="img_1_1_15"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/tabFocusImage_img_1_1.png"	visibility="hidden"/>
<image id="img_11_1_16"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/tabFocusImage_img_1_1.png"	visibility="hidden"/>
<image id="img_21_1_17"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/tabFocusImage_img_1_1.png"	visibility="hidden"/>
<image id="img_31_1_18"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/tabFocusImage_img_1_1.png"	visibility="hidden"/>
</g>
<g id="normalImage">
<image id="img_1_1_19"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/normalImage_img_1_1.png"/>
<image id="img_11_1_20"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/normalImage_img_1_1.png"	visibility="hidden"/>
<image id="img_21_1_21"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/normalImage_img_1_1.png"	visibility="hidden"/>
<image id="img_31_1_22"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/normalImage_img_1_1.png"	visibility="hidden"/>
</g>
<g id="focusImage">
<image id="img_1_1_23"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/focusImage_img_1_1.png"	visibility="hidden"/>
<image id="img_11_1_24"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/focusImage_img_1_1.png"	visibility="hidden"/>
<image id="img_21_1_25"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/focusImage_img_1_1.png"	visibility="hidden"/>
<image id="img_31_1_26"
	x="0" y="0" width="68" height="68"
	xlink:href="Images/focusImage_img_1_1.png"	visibility="hidden"/>
</g>
</g>
</g>
</g>

<!-- pz:tag output="anim" -->

<loadScene xlink:href="x-exec://net_rim_bb_messaging_app.Messages"  begin="Theme_Button_1.activate"/>
	<animate xlink:href="#img_1_1_11" id="_anim_3" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_1_1_11" id="_anim_4" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_1_1_11" id="_anim_5" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_11_1_12" id="_anim_6" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_11_1_12" id="_anim_7" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_11_1_12" id="_anim_8" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_21_1_13" id="_anim_9" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_21_1_13" id="_anim_10" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="visible;visible"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_21_1_13" id="_anim_11" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_31_1_14" id="_anim_12" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_31_1_14" id="_anim_13" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_31_1_14" id="_anim_14" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_1_1_15" id="_anim_15" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_1_1_15" id="_anim_16" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_1_1_15" id="_anim_17" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_11_1_16" id="_anim_18" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="visible;visible"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_11_1_16" id="_anim_19" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_11_1_16" id="_anim_20" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_21_1_17" id="_anim_21" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_21_1_17" id="_anim_22" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_21_1_17" id="_anim_23" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_31_1_18" id="_anim_24" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_31_1_18" id="_anim_25" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_31_1_18" id="_anim_26" attributeName="visibility" begin="Theme_Button_1.activate"
		values="visible;visible"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_1_1_19" id="_anim_27" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_1_1_19" id="_anim_28" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_1_1_19" id="_anim_29" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_11_1_20" id="_anim_30" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_11_1_20" id="_anim_31" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_11_1_20" id="_anim_32" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_21_1_21" id="_anim_33" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_21_1_21" id="_anim_34" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="visible;visible"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_21_1_21" id="_anim_35" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_31_1_22" id="_anim_36" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_31_1_22" id="_anim_37" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_31_1_22" id="_anim_38" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_1_1_23" id="_anim_39" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_1_1_23" id="_anim_40" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_1_1_23" id="_anim_41" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_11_1_24" id="_anim_42" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="visible;visible"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_11_1_24" id="_anim_43" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_11_1_24" id="_anim_44" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_21_1_25" id="_anim_45" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_21_1_25" id="_anim_46" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_21_1_25" id="_anim_47" attributeName="visibility" begin="Theme_Button_1.activate"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_31_1_26" id="_anim_48" attributeName="visibility" begin="Theme_Button_1.focusin"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_31_1_26" id="_anim_49" attributeName="visibility" begin="Theme_Button_1.focusout"
		values="hidden;hidden"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
	<animate xlink:href="#img_31_1_26" id="_anim_50" attributeName="visibility" begin="Theme_Button_1.activate"
		values="visible;visible"
		keyTimes="0;1"
		dur="0.45s" fill="freeze"
	/>
</svg>
Now.. I hand code my SVG's now because of this.. here would be MY code for ONE app.

1417 characters
Code:
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2000/svg http://www.plazmic.com/svg/schema/svg.xsd"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:pz="http://www.plazmic.com/plazmic_extents"
 id="Untitled_10" xml:space="default" width="360" height="480" viewport-fill="#ffffff" viewBox="-180 -240 360 480" preserveAspectRatio="xMidYMid meet">

<g id="apps_layer">
		
		<g id="S0">
		<useApplicationIcons app-id="slot0" normal-group="normalImage" focus-group="focusImage"/>
		<g id="S0_Cont">
			<g id="normalImageS0">
				<image id="S0_N" x="-10" y="385" width="90" height="90" xlink:href="Images/image_holder.png"/>
				
			</g>
			<g id="focusImageS0">
				<image id="S0_F" x="-10" y="385" width="90" height="90"	xlink:href="Images/image_holder.png"	visibility="hidden"/>
			</g>
		</g>
	</g>

</g>

<loadScene xlink:href="x-exec://slot0"  begin="S0.activate"/>
	<set xlink:href="#S0_N" attributeName="visibility" to="hidden" 	begin="S0.focusin"/>
	<set xlink:href="#S0_F" attributeName="visibility" to="visible" begin="S0.focusin"/>
	<set xlink:href="#S0_N" attributeName="visibility" to="visible" begin="S0.focusout"/>
	<set xlink:href="#S0_F" attributeName="visibility" to="hidden" 	begin="S0.focusout"/>

</svg>
thats a difference of over 10,000 characters.

Now, if you want special animation and such to happen for icons - a lot of the original code will be needed. The problem is Composer has 10 frames of animation per icon so It adds the code when its not needed.


Hope this helps.

I want to also add... that if you can learn the svg code well enough.. you can go beyond the normal homescreen. All the extra code slows things down when you add more and more apps. Keeping it to minimal code allows a LOT more items with no slow down
__________________
Reply With Quote Tip this Post
Thanked by wu-wei (02-14-2011)
    Thread Author   #7  
Old 02-15-2011, 09:08 AM
CrackBerry Addict
Device(s): Curve 8520!
Carrier: Du
 
Location: In a land far, far away...
Join Date: Oct 2010
Posts: 458
Likes Received: 0
Thanked 85 Times in 41 Posts
Default

Okay, thanks Static! Can I just ask, how would one learn how to make that code? How did you learn? Thanks!

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
  #8  
Old 02-15-2011, 11:06 AM
CrackBerry Genius
Device(s): iPhone 4s
Carrier: Verizon
 
Join Date: Nov 2009
Posts: 2,310
Likes Received: 88
Thanked 169 Times in 112 Posts
Default

lol.. actually trial and error.
I started by just clipping out a piece at a time and testing to see if it still worked.

now that I have it right.. I just copy/paste and tweak the code each time.
__________________
Reply With Quote Tip this Post
  #9  
Old 02-22-2011, 09:28 AM
CrackBerry Abuser
Device(s): 9700 (Bold)
Carrier: Telkomsel
 
Location: Indonesia
Join Date: Aug 2010
Posts: 136
Likes Received: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by StaticFX View Post
Oh yes.. Composer is terrible.. Example:

here is the code for ONE app in the SVG - no animation edited added etc... just added ONE app and exported the svg:

Now, if you want special animation and such to happen for icons - a lot of the original code will be needed. The problem is Composer has 10 frames of animation per icon so It adds the code when its not needed.


Hope this helps.

I want to also add... that if you can learn the svg code well enough.. you can go beyond the normal homescreen. All the extra code slows things down when you add more and more apps. Keeping it to minimal code allows a LOT more items with no slow down
StaticFX, if I were to copy paste that code of yours, and duplicate it (only chaning slots and app paths and what not, can I create a working SVG?

I plan on creating a heavily customized dock, and your statement about "lotsa trash codes make the dock go so zetta slow" worry me

If not, can you point me to the right direction?
Reply With Quote Tip this Post
  #10  
Old 02-23-2011, 09:45 AM
CrackBerry Genius
Device(s): iPhone 4s
Carrier: Verizon
 
Join Date: Nov 2009
Posts: 2,310
Likes Received: 88
Thanked 169 Times in 112 Posts
Default

almost...

a few things need to be changed

1) as you know.. the Slot number
2) the ID's each place that has S0 would need to be changed for each... so you would have S1, S2.. etc there are 15 places that need changing
3) the Image_Holder.png I used was custom... you need to create 2 plain icon images (a norm and a focus) or just copy the ones from another theme that exported from composer. You just need 1 of each... name them something simple and change the png name (and put them in an Images/ folder)
4) you need to change the dimensions according to you device...
an easy way is to create a blank composer file.. then view the svg (file > view SVG) - copy that first chunk of code...


try adding only a few icons at first... then test - if its right.. add a few more etc...
that way if you make a mistake you know its only one of the 2 or 3 new icons added.
__________________
Reply With Quote Tip this Post
  #11  
Old 02-23-2011, 11:47 PM
CrackBerry Abuser
Device(s): 9700 (Bold)
Carrier: Telkomsel
 
Location: Indonesia
Join Date: Aug 2010
Posts: 136
Likes Received: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by StaticFX View Post
almost...

a few things need to be changed

1) as you know.. the Slot number
2) the ID's each place that has S0 would need to be changed for each... so you would have S1, S2.. etc there are 15 places that need changing
3) the Image_Holder.png I used was custom... you need to create 2 plain icon images (a norm and a focus) or just copy the ones from another theme that exported from composer. You just need 1 of each... name them something simple and change the png name (and put them in an Images/ folder)
4) you need to change the dimensions according to you device...
an easy way is to create a blank composer file.. then view the svg (file > view SVG) - copy that first chunk of code...


try adding only a few icons at first... then test - if its right.. add a few more etc...
that way if you make a mistake you know its only one of the 2 or 3 new icons added.
Ah yes... if I remember correctly, it's:
1) App slot. But this works for "Use device application order". If I were to use "Open BlackBerry Application", what would it contain?

2) Unique Object ID, isn't it? Each object requires its own ID

3) Normal and Focus Icon. Ah, now I see. That's why there's Images folder in the same directory as my SVG

4) Ah yes, thanks, I'll do that
Reply With Quote Tip this Post
  #12  
Old 02-24-2011, 07:51 AM
CrackBerry Genius
Device(s): iPhone 4s
Carrier: Verizon
 
Join Date: Nov 2009
Posts: 2,310
Likes Received: 88
Thanked 169 Times in 112 Posts
Default

1) depends... for OS5 it can be done differently than OS6 - which do you need it for?
2) yes
3) correct - but really.. you dont need to have different icons. you can even use a simple sqaure the size of the icon. its a placeholder...except for OS6 when specifying an app
__________________
Reply With Quote Tip this Post
  #13  
Old 02-24-2011, 08:19 AM
CrackBerry Abuser
Device(s): 9700 (Bold)
Carrier: Telkomsel
 
Location: Indonesia
Join Date: Aug 2010
Posts: 136
Likes Received: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by StaticFX View Post
1) depends... for OS5 it can be done differently than OS6 - which do you need it for?
2) yes
3) correct - but really.. you dont need to have different icons. you can even use a simple sqaure the size of the icon. its a placeholder...except for OS6 when specifying an app

Does it have something to do with this code?

Code:
<g  id="btn_Communications_BBM"
	transform="translate(-89 -190)">
	<!-- pz:tag type="button" -->
<g  id="btn_Communications_BBM-Contents">
	<!-- pz:tag type="layer" -->
That's a chunk of code for BBM icon using "Open BlackBerry Application"

This is for OS5, I don't plan on going to OS 6 soon. My poor Bold 9700 may not be able to handle it =(

Besides, the theming solutions are stable at that
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   Composer Inefficiency

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes