Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Creating Themes With Dreamboard
is a discussion within theiPhone 4|4S New Skins / Themes Launches
forums, a part of theNew Skins / Themes Launches
section;@Lopeard in the magnet demo where you can move the magnet, is there a way for when you respring the magnet stays where you left it?
...-
07-05-2011, 06:59 PM #1001Livin the iPhone Life
- Join Date
- Feb 2011
- Location
- Aberdeen, Scotland, UK
- Posts
- 1,430
- Thanks
- 319
- Thanked 924 Times in 450 Posts
@Lopeard in the magnet demo where you can move the magnet,
is there a way for when you respring the magnet stays where you left it?Last edited by AngryPIG; 07-05-2011 at 08:44 PM.
cydia.myrepospace.com/AngryPIG/
-
07-05-2011, 07:09 PM #1002My iPhone is a Part of Me
- Join Date
- Mar 2011
- Location
- Toronto
- Posts
- 713
- Thanks
- 351
- Thanked 376 Times in 193 Posts
For starters the bolded text should read "vars"Code:<dict> <key>Actions</key> <array> <string>get.vars.cydiavar = 0 ? insertview CydiaSubMenu above Wallpaper, var.cydiavar = 1 : removeview CydiaSubMenu, var.cydiavar = 0</string> <string>removeview SocialSubMenu</string> <string>removeview AllAppsSubMenu</string> <string>removeview GamesSubMenu</string> <string>removeview MediaSubMenu</string> </array> <key>Frame</key> <string>0,70,42,60</string> <key>Image</key> <string>$ROOT/Images/CydiaButton.png</string> <key>ViewType</key> <string>Button</string> </dict>
-
The Following User Says Thank You to scarflaire For This Useful Post:
FrightDealer (07-06-2011)
-
07-05-2011, 07:51 PM #1003iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
i cant figure out that scrollview
Last edited by iGamers; 07-05-2011 at 08:00 PM.
-
07-05-2011, 07:59 PM #1004iPhone? More like MyPhone
- Join Date
- Jun 2008
- Location
- Glendora, California
- Posts
- 154
- Thanks
- 27
- Thanked 22 Times in 21 Posts
Is the Editing view a button or an image view? because for some reason if you try to change the image of a button it will put you into safe mode. If that's a button then you would need to create an imageview underneath the button and have the image of the button be nothing. Then you could change the image of the image view underneath without a problem
-
The Following User Says Thank You to metalliccornflakes For This Useful Post:
iGamers (07-05-2011)
-
07-05-2011, 08:10 PM #1005iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
well that solves a lot lol, thank you, you solved one of the biggest problems i have, now i just need to figure out how to actually save the changes i make in editing mode
--- Edit ---
figured out how to save it lol, just need to fix the scrollview and maybe a lockscreen idk yetLast edited by iGamers; 07-05-2011 at 10:36 PM.
-
07-05-2011, 10:22 PM #1006
Is there a way to change the font size of an AppIcon's badge?

-
07-05-2011, 11:32 PM #1007iPhone? More like MyPhone
- Join Date
- Jun 2008
- Location
- Glendora, California
- Posts
- 154
- Thanks
- 27
- Thanked 22 Times in 21 Posts
-
07-05-2011, 11:40 PM #1008iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
is there a way to change the ContentHeight of a ScrollView with dot notation?
-
07-06-2011, 12:57 AM #1009Delirious
- Join Date
- Feb 2011
- Location
- New Zealand
- Posts
- 620
- Thanks
- 125
- Thanked 1,250 Times in 186 Posts
Nope, exact same thing I was asking a few days ago.
You have to do a workaround :
An action on the ScrollView eg. get.vars.scrolllock = 1 ? function scrolllock
a function called scrolllock
if get.views.ScrollView.contentOffsetY gt= 960
then views.ScrollView.contentOffsetY = 960
Then you need a button that sets the variable "scrolllock to 0 or 1
-
07-06-2011, 02:21 AM #1010iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
hold on i dont exactly understand, would i give the actual ScrollView an action that gets the scroll lock?
would the function be that constitutional? exactly like that or would i need to change the 960?
-
07-06-2011, 03:34 AM #1011Delirious
- Join Date
- Feb 2011
- Location
- New Zealand
- Posts
- 620
- Thanks
- 125
- Thanked 1,250 Times in 186 Posts
Yes, the scrollview itself contain the action, which is the function scrolllock. You can change 960 to whatever you want, its just an example.
Here's the project I requested that Lopeard made for me:
locking a page in a scrollview | Lopeard
-
The Following User Says Thank You to kooris For This Useful Post:
SirTimothy1 (07-10-2011)
-
07-06-2011, 03:39 AM #1012iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
i tried that and i guess i messed up somewhere along the way, i guess when scrolllock is set to 0 then it locks scrolling, but if its set to 0 and i try to scroll it puts my device into safe mode
also, for some reason this keeps putting me in safe mode too, idk why?Code:<key>setWall</key> <array> <string>get.vars.wall = 1 ? views.Wallpaper.image = /Images/Wallpaper/Plants1.png : nothing</string> <string>get.vars.wall = 2 ? views.Wallpaper.image = /Images/Wallpaper/Plants2.png : nothing</string> <string>get.vars.wall = 3 ? Views.Wallpaper.image = /Images/Wallpaper/Nature1.png : nothing</string> <string>get.vars.wall = 4 ? views.Wallpaper.image = /Images/Wallpaper/Nature2.png : nothing</string> <string>get.vars.wall = 5 ? views.Wallpaper.image = /Images/Wallpaper/Nature3.png : nothing</string> <string>get.vars.wall = 6 ? views.Wallpaper.image = /Images/Wallpaper/Abstract1.png : nothing</string> <string>get.vars.wall = 7 ? views.Wallpaper.image = /Images/Wallpaper/Abstract2.png : nothing</string> <string>get.vars.wall = 8 ? views.Wallpaper.image = /Images/Wallpaper/Abstract3.png : nothing</string> <string>get.vars.wall = 9 ? views.Wallpaper.image = /Images/Wallpaper/Abstract4.png : nothing</string> <string>get.vars.wall = 10 ? views.Wallpaper.image = /Images/Wallpaper/Abstract5.png : nothing</string> <string>get.vars.wall = 11 ? views.Wallpaper.image = /Images/Wallpaper/Abstract6.png : nothing</string> <string>get.vars.wall = 12 ? views.Wallpaper.image = /Images/Wallpaper/Abstract7.png : nothing</string> <string>get.vars.wall = 13 ? views.Wallpaper.image = /Images/Wallpaper/Abstract8.png : nothing</string> <string>get.vars.wall = 14 ? views.Wallpaper.image = /Images/Wallpaper/Abstract9.png : nothing</string> <string>get.vars.wall = 15 ? views.Wallpaper.image = /Images/Wallpaper/Girl1.png : nothing</string> <string>get.vars.wall = 16 ? views.Wallpaper.image = /Images/Wallpaper/Girl2.png : nothing</string> <string>savevar</string> </array>
Figured that out lol, i forgot the else string at the end haha, but wow, its not changing the wallpaper, the variable is changing when i choose the wall paper, so the buttons are working, its just the function that sets them as the image, idk whats wrong with it, the code looks good but its not working, idk whats wrong with it, it doesnt change the image at all
it seems like every time i post my problem, i solve it almost right after, lol, haha wowLast edited by iGamers; 07-06-2011 at 05:50 AM. Reason: updated code
-
07-06-2011, 07:56 AM #1013Dreamboard Porter/Themer/Coder
- Join Date
- Jan 2011
- Location
- var/Library/Dreamboard
- Posts
- 1,245
- Thanks
- 895
- Thanked 667 Times in 417 Posts
OOOOOHHHHHH! Makes sense...
Alright let me fix that. Thanks Scarflaire, Appreciate it!
*edit*
Alright i tried the changes you told me, but i still get a black screen. IDK if i did something wrong.
I think it is the part where i added <key>Variables</key> at the end. Mayb it doesn't go there? Or i wrote something wrong? Help?Code:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>DynamicViews</key> <dict> <key>CydiaSubMenu</key> <dict> <key>AllApps</key> <false/> <key>ScrollingEnabled</key> <true/> <key>Apps</key> <array> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> </array> <key>UserInteraction</key> <true/> <key>ClipToBounds</key> <true/> <key>Cols</key> <integer>2</integer> <key>Rows</key> <integer>8</integer> <key>Frame</key> <string>78,89,130,358</string> <key>GapX</key> <integer>70</integer> <key>GapY</key> <integer>99</integer> <key>IconHeight</key> <integer>60</integer> <key>IconWidth</key> <integer>60</integer> <key>PageHeight</key> <integer>358</integer> <key>PageWidth</key> <integer>130</integer> <key>ViewType</key> <string>AppGrid</string> <key>id</key> <string>CydiaSubMenu</string> </dict> <key>SocialSubMenu</key> <dict> <key>AllApps</key> <false/> <key>ScrollingEnabled</key> <true/> <key>Apps</key> <array> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> </array> <key>UserInteraction</key> <true/> <key>ClipToBounds</key> <true/> <key>Cols</key> <integer>2</integer> <key>Rows</key> <integer>8</integer> <key>Frame</key> <string>78,89,130,358</string> <key>GapX</key> <integer>70</integer> <key>GapY</key> <integer>99</integer> <key>IconHeight</key> <integer>60</integer> <key>IconWidth</key> <integer>60</integer> <key>PageHeight</key> <integer>358</integer> <key>PageWidth</key> <integer>130</integer> <key>ViewType</key> <string>AppGrid</string> <key>id</key> <string>SocialSubMenu</string> </dict> <key>GamesSubMenu</key> <dict> <key>AllApps</key> <false/> <key>ScrollingEnabled</key> <true/> <key>Apps</key> <array> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> </array> <key>UserInteraction</key> <true/> <key>ClipToBounds</key> <true/> <key>Cols</key> <integer>2</integer> <key>Rows</key> <integer>8</integer> <key>Frame</key> <string>78,89,130,358</string> <key>GapX</key> <integer>70</integer> <key>GapY</key> <integer>99</integer> <key>IconHeight</key> <integer>60</integer> <key>IconWidth</key> <integer>60</integer> <key>PageHeight</key> <integer>358</integer> <key>PageWidth</key> <integer>130</integer> <key>ViewType</key> <string>AppGrid</string> <key>id</key> <string>GamesSubMenu</string> </dict> <key>AllAppsSubMenu</key> <dict> <key>AllApps</key> <true/> <key>ScrollingEnabled</key> <true/> <key>UserInteraction</key> <true/> <key>ClipToBounds</key> <true/> <key>Cols</key> <integer>2</integer> <key>Rows</key> <integer>30</integer> <key>Frame</key> <string>78,89,130,358</string> <key>GapX</key> <integer>70</integer> <key>GapY</key> <integer>99</integer> <key>IconHeight</key> <integer>60</integer> <key>IconWidth</key> <integer>60</integer> <key>PageHeight</key> <integer>500</integer> <key>PageWidth</key> <integer>130</integer> <key>ViewType</key> <string>AppGrid</string> <key>id</key> <string>AllAppsSubMenu</string> </dict> <key>MediaSubMenu</key> <dict> <key>AllApps</key> <false/> <key>ScrollingEnabled</key> <true/> <key>Apps</key> <array> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> <string>NO ICON PLACEHOLDER</string> </array> <key>UserInteraction</key> <true/> <key>ClipToBounds</key> <true/> <key>Cols</key> <integer>2</integer> <key>Rows</key> <integer>8</integer> <key>Frame</key> <string>78,89,130,358</string> <key>GapX</key> <integer>70</integer> <key>GapY</key> <integer>99</integer> <key>IconHeight</key> <integer>60</integer> <key>IconWidth</key> <integer>60</integer> <key>PageHeight</key> <integer>358</integer> <key>PageWidth</key> <integer>130</integer> <key>ViewType</key> <string>AppGrid</string> <key>id</key> <string>MediaSubMenu</string> </dict> </dict> <key>LabelStyle</key> <dict> <key>labelFontSize</key> <integer>11</integer> <key>labelHeight</key> <integer>12</integer> <key>labelWidth</key> <integer>55</integer> <key>labelX</key> <integer>5</integer> <key>labelY</key> <integer>70</integer> </dict> <key>MainView</key> <array> <dict> <key>Actions</key> <array> <string>get.vars.cydiavar = 0 ? insertview CydiaSubMenu above Wallpaper, vars.cydiavar = 1 : removeview CydiaSubMenu, vars.cydiavar = 0</string> <string>removeview SocialSubMenu</string> <string>removeview AllAppsSubMenu</string> <string>removeview GamesSubMenu</string> <string>removeview MediaSubMenu</string> </array> <key>Frame</key> <string>0,70,42,60</string> <key>Image</key> <string>$ROOT/Images/CydiaButton.png</string> <key>ViewType</key> <string>Button</string> <key>id</key> </dict> <dict> <key>Actions</key> <array> <string>insertview SocialSubMenu above Wallpaper</string> <string>removeview CydiaSubMenu</string> <string>removeview AllAppsSubMenu</string> <string>removeview GamesSubMenu</string> <string>removeview MediaSubMenu</string> </array> <key>Frame</key> <string>0,130,42,60</string> <key>Image</key> <string>$ROOT/Images/SocialButton.png</string> <key>ViewType</key> <string>Button</string> </dict> <dict> <key>Actions</key> <array> <string>insertview AllAppsSubMenu above Wallpaper</string> <string>insertview AllAppsSubMenuBG below AllAppsSubMenu</string> <string>removeview SocialSubMenu</string> <string>removeview CydiaSubMenu</string> <string>removeview GamesSubMenu</string> <string>removeview MediaSubMenu</string> </array> <key>Frame</key> <string>0,190,50,90</string> <key>Image</key> <string>$ROOT/Images/AllApps.png</string> <key>ViewType</key> <string>Button</string> </dict> <dict> <key>Actions</key> <array> <string>insertview MediaSubMenu above Wallpaper</string> <string>removeview SocialSubMenu</string> <string>removeview AllAppsSubMenu</string> <string>removeview GamesSubMenu</string> <string>removeview CydiaSubMenu</string> </array> <key>Frame</key> <string>0,280,42,60</string> <key>Image</key> <string>$ROOT/Images/MediaButton.png</string> <key>ViewType</key> <string>Button</string> </dict> <dict> <key>Actions</key> <array> <string>insertview GamesSubMenu above Wallpaper</string> <string>removeview SocialSubMenu</string> <string>removeview AllAppsSubMenu</string> <string>removeview CydiaSubMenu</string> <string>removeview MediaSubMenu</string> </array> <key>Frame</key> <string>0,340,42,60</string> <key>Image</key> <string>$ROOT/Images/GamesButton.png</string> <key>ViewType</key> <string>Button</string> </dict> <dict> <key>Actions</key> <array> <string>launch com.apple.mobilesafari</string> </array> <key>Frame</key> <string>70,412,65,65</string> <key>Image</key> <string>$ROOT/Icons/SafariIcon.png</string> <key>ViewType</key> <string>Button</string> <key>id</key> <string>SafariIcon</string> </dict> <dict> <key>Actions</key> <array> <string>launch com.apple.mobilemail</string> </array> <key>Frame</key> <string>152,420,65,50</string> <key>Image</key> <string>$ROOT/Icons/MailIcon.png</string> <key>ViewType</key> <string>Button</string> <key>id</key> <string>MailIcon</string> </dict> <dict> <key>Frame</key> <string>0,0,320,480</string> <key>Image</key> <string>$ROOT/Wallpaper.png</string> <key>ViewType</key> <string>ImageView</string> <key>id</key> <string>Wallpaper</string> </dict> </array> <key>Variables</key> <dict> <key>cydiavar</key> <integer>0</integer> </dict> </dict> </plist>
Right now i only added the get.vars to the CydiaButton. Nothing else yet, i want to try it out only on that button before i add it to the others...To make sure it works. I highlighted the CydiaButton and Variables section for easier reference...
TIA
-
07-06-2011, 12:08 PM #1014iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
I think your problem is with the cydia button, you opened up the id key, but never put a value
try putting the value in and let me know, it should fix it but im not positiveCode:<dict> <key>Actions</key> <array> <string>get.vars.cydiavar = 0 ? insertview CydiaSubMenu above Wallpaper, vars.cydiavar = 1 : removeview CydiaSubMenu, vars.cydiavar = 0</string> <string>removeview SocialSubMenu</string> <string>removeview AllAppsSubMenu</string> <string>removeview GamesSubMenu</string> <string>removeview MediaSubMenu</string> </array> <key>Frame</key> <string>0,70,42,60</string> <key>Image</key> <string>$ROOT/Images/CydiaButton.png</string> <key>ViewType</key> <string>Button</string> <key>id</key> </dict>
-
The Following User Says Thank You to iGamers For This Useful Post:
FrightDealer (07-06-2011)
-
07-06-2011, 01:23 PM #1015
@sahandii not currently
yea u cant just have open tags, u need a value for the id key
Official DreamBoard Wiki
Twitter | YouTube
My Themes: ipod 5g themes | Origins [blue] | Ubuntu Ultimate | Windows 7 OS
-
The Following User Says Thank You to PhanaticD For This Useful Post:
FrightDealer (07-06-2011)
-
07-06-2011, 01:35 PM #1016Dreamboard Porter/Themer/Coder
- Join Date
- Jan 2011
- Location
- var/Library/Dreamboard
- Posts
- 1,245
- Thanks
- 895
- Thanked 667 Times in 417 Posts
-
07-06-2011, 01:59 PM #1017iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
no problem, its an easy mistake, i cant even count how many times i did something similar like not closing values the right way lol, and thats why i learn to check my code after ever section
-
The Following User Says Thank You to iGamers For This Useful Post:
FrightDealer (07-06-2011)
-
07-06-2011, 02:15 PM #1018Dreamboard Porter/Themer/Coder
- Join Date
- Jan 2011
- Location
- var/Library/Dreamboard
- Posts
- 1,245
- Thanks
- 895
- Thanked 667 Times in 417 Posts
-
07-06-2011, 02:27 PM #1019iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
-
The Following User Says Thank You to iGamers For This Useful Post:
FrightDealer (07-06-2011)
-
07-06-2011, 03:28 PM #1020iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
is it possible to animate the <string>hidestatusbar</string> like <string>hidestatusbar animate:1.0</string> or something like that?




LinkBack URL
About LinkBacks
Reply With Quote








