- 07-28-2011, 09:17 PM #508
first off its best to edit the svg header so that you DONT have to use negative numbers....like this
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="1.2" baseProfile="tiny" xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:pz="http://www.plazmic.com/plazmic_extents" id="SFXDesigns" xml:space="default" width="360" height="480" viewport-fill="#000000" viewBox="0 0 360 480" preserveAspectRatio="xMinYMin meet">
<image id="ShadowTime" x="83" y="103" width="200" height="50" opacity=".5"
xlink:href="x-object:/CurrentDateTime?clocktype=time&width=200&h eight=50&font-family=Arial&font-style=bold&font-size=45&fill=000000&align=center&ampmS ize=1"/>
<image id="MainTime" x="80" y="100" width="200" height="50"
xlink:href="x-object:/CurrentDateTime?clocktype=time&width=200&h eight=50&font-family=Arial&font-style=bold&font-size=45&fill=ffffff&align=center&ampmS ize=1"/>
sunny... what is the 22 & 54?
BangSat... post up what you did there :) i'd like to see!
Last edited by StaticFX; 07-28-2011 at 09:24 PM.
- 07-28-2011, 11:51 PM #509
@Static................22 is Hour 10 at night and 54 is the minute.
Thats the 24 hour clock. I cut the hour clock into hours only omitting the minutes and colon.
And then created a second clock below by pushing the hour area out of the screen
to get along with the minutes only.
And I noticed 1 thing that is for all Theme makers , That regarding the clock Code
we had a limitation of going upto 50 pixels in TB or composer, but manually coding a clock you can go upto 70 pixels in code and BB supports that.
My developed clock font is quite large in a single space and not splitting the clock.
So for all Theme Builders, it s a good news now you can have larger clocks and better fonts to best suit the themes.
- 07-28-2011, 11:55 PM #510
That was a great help Static, would definitely try that, but me and Bang went some more steps ahead to generate the BOB clock with 4 clocks in range and then creating individual shadows as we have in I phones and Androids.
Now we just want to work on the colour codes as it seems that BB only recognizes the web color codes and not the opacity control over the rgb colours.
If that could be achieved then we Theme builders for BB would be nowhere less that the Iphone Builders.
Still working on the clock code to make it more bigger .
This is what I have achieved till now.
- 07-29-2011, 03:17 AM #511
1 question Guys: This one is for Torch or Storm.
This is the code for the current date :<image id="date_01"
xlink:href="x-object:/CurrentDateTime?clocktype=date&width=210&h eight=100&font-family=BBAlpha Sans&align=center&fill=fe92oc9&font-size=50&text-anchor=middle"/>
Can anyone please help me get this done.
- 07-29-2011, 05:46 AM #512
I think its this Sunny:
xlink:href="x-object:/CurrentDateTime?clocktype=date&width=210&h eight=100&font-family=BBAlpha Sans&align=center&fill=fe92oc9&font-size=50&text-anchor=middle&transform="rotate(90)"/>
Last edited by Bangsat1986; 07-29-2011 at 05:50 AM.
- 07-29-2011, 08:54 AM #518
Static is a genius of the geniuses....but I am not that deep into coding. He is a inborn talent.
I followed his instructions, but not getting how to get something out of the screen, cos when I render the coordinates in - ve s , the element either goes up or down .
But in the general co ordinates, I am having it easy to do it .
Cos I have made 80 trials with those coordinates .
LOL. sometimes easy things are so hard.
- CrackBerry Master
07-29-2011, 03:53 PM #521"If anyone would come after me, let him deny himself and take up his cross and follow me" - Matthew 16:24
- 1,377 Posts
- PM me for it!
SpeedNotes - A fast and convenient note taking application
Visit Gray Matter Apps on the web: http://www.graymatterapps.com/
- 07-29-2011, 04:01 PM #522
Is there a way to set the navigation for the buttons in svg. Having some trouble making it work in themebuilder! Default vertical in themebuilder is crap and all wrong but i can scroll.... Default horizontal in themebuilder is crap and all wrong but i can scroll. But when i say dont create default links and set everything manually it doesnt work. Help needed!
Grrrrrr driven me crazy! THM file and svg and even cp can be sent if needed! For the life of me i cant figure it out!!
Its for a 8520 btw. Not a great One but hey gotta do with some when the other one is broke!!
Please help me out!
Last edited by Bangsat1986; 07-29-2011 at 04:24 PM.