+ Reply
Page 50 of 130 FirstFirst ... 404849505152 60 100 ... LastLast
Results 981 to 1,000 of 2599

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Creating Themes With Dreamboard

is a discussion within the

iPhone 4|4S New Skins / Themes Launches

forums, a part of the

New Skins / Themes Launches

section;
Code: <dict> <key>Actions</key> <array> <string>nothing</string> </array> <key>Alpha</key> <real>0.0</real> <key>Frame</key> <string>21,282,80,226</string> <key>ContentHeight</key <integer>480</integer> <key>ContentWidth</key> <integer>80</integer> <key>ContentOffsetX</key> <integer>0</integer> <key>ContentOffsetY</key> <integer>0</integer> <key>HorizontalScrollBars</key> <false/> <key>Paging</key> <false/> <key>ViewType</key> <string>ScrollView</string> <key>id</key> <string>WallCategories</string> <key>Subviews</key> <array> <dict> <key>Actions</key>
...
  1. #981
    iPhoneaholic iGamers's Avatar
    Join Date
    Jun 2011
    Location
    Riverside, California, United States
    Posts
    479
    Thanks
    24
    Thanked 81 Times in 61 Posts

    Code:
    				<dict>
    					<key>Actions</key>
    						<array>
    							<string>nothing</string>
    						</array>
    					<key>Alpha</key>
    						<real>0.0</real>
    					<key>Frame</key>
    						<string>21,282,80,226</string>
    					<key>ContentHeight</key
    						<integer>480</integer>
    					<key>ContentWidth</key>
    						<integer>80</integer>
    					<key>ContentOffsetX</key>
    						<integer>0</integer>
    					<key>ContentOffsetY</key>
    						<integer>0</integer>
    					<key>HorizontalScrollBars</key>
    						<false/>
    					<key>Paging</key>
    						<false/>
    					<key>ViewType</key>
    						<string>ScrollView</string>
    					<key>id</key>
    						<string>WallCategories</string>
    					<key>Subviews</key>
    						<array>
    					<dict>
    						<key>Actions</key>
    							<array>
    								<string>set alpha 0.0 GirlsWindow</string>
    								<string>set alpha 0.0 NatureWindow</string>
    								<string>set alpha 0.0 AbstactWindow</string>
    								<string>set alpha 1.0 PlantsWindow</string>
    							</array>
    							<key>Alpha</key>
    							<real>0.0</real>
    							<key>Frame</key>
    							<string>21,159,80,15</string>
    							<key>Image</key>
    							<string>/DreamBoard/Snow Leopard/Images/Wallpaper/Plantsbutton.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    							<key>id</key>
    							<string>PlantsButton</string>
    					</dict>
    					<dict>
    						<key>Actions</key>
    							<array>
    								<string>set alpha 0.0 GirlsWindow</string>
    								<string>set alpha 1.0 NatureWindow</string>
    								<string>set alpha 0.0 AbstactWindow</string>
    								<string>set alpha 0.0 PlantsWindow</string>
    							</array>
    							<key>Alpha</key>
    							<real>0.0</real>
    							<key>Frame</key>
    							<string>21,175,80,15</string>
    							<key>Image</key>
    							<string>/DreamBoard/Snow Leopard/Images/Wallpaper/Naturebutton.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    							<key>id</key>
    							<string>NatureButton</string>
    					</dict>
    					<dict>
    						<key>Actions</key>
    							<array>
    								<string>set alpha 0.0 GirlsWindow</string>
    								<string>set alpha 0.0 NatureWindow</string>
    								<string>set alpha 1.0 AbstactWindow</string>
    								<string>set alpha 0.0 PlantsWindow</string>
    							</array>
    							<key>Alpha</key>
    							<real>0.0</real>
    							<key>Frame</key>
    							<string>21,191,80,15</string>
    							<key>Image</key>
    							<string>/DreamBoard/Snow Leopard/Images/Wallpaper/Abstractbutton.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    							<key>id</key>
    							<string>AbstractButton</string>
    					</dict>
    					<dict>
    						<key>Actions</key>
    							<array>
    								<string>set alpha 1.0 GirlsWindow</string>
    								<string>set alpha 0.0 NatureWindow</string>
    								<string>set alpha 0.0 AbstactWindow</string>
    								<string>set alpha 0.0 PlantsWindow</string>
    							</array>
    							<key>Alpha</key>
    							<real>0.0</real>
    							<key>Frame</key>
    							<string>21,207,80,15</string>
    							<key>Image</key>
    							<string>/DreamBoard/Snow Leopard/Images/Wallpaper/Girls.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    							<key>id</key>
    							<string>GirlsButton</string>
    					</dict>
    					<dict>
    						<key>Alpha</key>
    						<real>0.0</real>
    						<key>ClipToBounds</key>
    						<true/>
    						<key>FrameHeight</key>
    						<integer>400</integer>
    						<key>FrameWidth</key>
    						<integer>320</integer>
    						<key>FrameX</key>
    						<integer>0</integer>
    						<key>FrameY</key>
    						<integer>30</integer>
    						<key>Image</key>
    						<string>/DreamBoard/Snow Leopard/Images/Wallpaper/BGchanger.png</string>
    						<key>ViewType</key>
    						<string>ImageView</string>
    						<key>id</key>
    						<string>WallpaperChangerBG</string>
    					</dict>
    				</array>
    			</dict>
    I am trying to make a scrollview but it seems like evertime I try to use one i get a blackscreen, what exactly am I doing wrong? am I not supposed to use <dict> tags inside the subview array?
    Last edited by iGamers; 07-04-2011 at 05:47 PM.

  2. #982
    Theme Creator PhanaticD's Avatar
    Join Date
    Oct 2009
    Location
    NJ
    Posts
    2,152
    Thanks
    209
    Thanked 574 Times in 337 Posts

    alpha is <real> not string

  3. #983
    iPhoneaholic iGamers's Avatar
    Join Date
    Jun 2011
    Location
    Riverside, California, United States
    Posts
    479
    Thanks
    24
    Thanked 81 Times in 61 Posts

    wow, i keep doing that lol

    but its still not working, I had the categories there before, and decided to put them into a scrollview, they were working before i put them into it, no black screen, and the window would show up exactly how i wanted it, but when i put the scrollview around it, is when i started getting black screen

  4. #984
    Theme Creator PhanaticD's Avatar
    Join Date
    Oct 2009
    Location
    NJ
    Posts
    2,152
    Thanks
    209
    Thanked 574 Times in 337 Posts

    Hmm and dreamboard doesnt pop up any error messages? If u use the new dot notation it might tell u

  5. #985
    iPhoneaholic iGamers's Avatar
    Join Date
    Jun 2011
    Location
    Riverside, California, United States
    Posts
    479
    Thanks
    24
    Thanked 81 Times in 61 Posts

    whats the dot notation? sorry i havent heard of that or anything, and no error messages at all, idk what happened

    okay well i just got the scrollview working again, i looked up dot notation and realized ive been using it lol, just didnt realize the name for it, but i cant seem to show the scroll view now, i pressed the button that is supposed to set the alpha but it doesnt seem to work, nothing happens

    ----- Edit -----

    okay i figured it out and got it all working thank you guys
    Last edited by iGamers; 07-04-2011 at 07:01 PM.

  6. #986
    Dreamboard Porter/Themer/Coder FrightDealer's Avatar
    Join Date
    Jan 2011
    Location
    var/Library/Dreamboard
    Posts
    1,287
    Thanks
    952
    Thanked 750 Times in 442 Posts

    Quote Originally Posted by PhanaticD View Post
    ok well everytime u click the same button its performing the same action, so you would have to use variable to stand for the menu being open

    so make a variable called 'cydiavar' and it will be equal to '0' representing closed. see coding section in wiki for syntax

    when you tap the button to open the submenu, at the same time make the variable '1' which will stand for it being open

    so instead of just insertview cydiamenu, ur code will be... <string>get.vars.cydiavar = 0 ? insertview CydiaSubMenu above Wallpaper, var.cydiavar = 1 : removeview CydiaSubMenu, var.cydiavar = 0</string>

    basically saying this: you start with 0 which equals closed, then the action does "if its closed open it, and set the var to mean its open.. otherwise close it and set the var to represent its closed"


    as for the background, just make a container view (viewtype is just view) and put the grid in there and the image background as subviews of the container
    Hmmm, so that is what that coding meant. Really simple when you explain it completely. Instead of trying to figure out what each part does, etc. Alright, thanks man, i will try that coding out and hopefully it will work. Really appreciate your help. Makes this a WHOLE lot easier!

  7. The Following User Says Thank You to FrightDealer For This Useful Post:

    PhanaticD (07-04-2011)

  8. #987
    Theme Creator PhanaticD's Avatar
    Join Date
    Oct 2009
    Location
    NJ
    Posts
    2,152
    Thanks
    209
    Thanked 574 Times in 337 Posts

    Quote Originally Posted by iGamers View Post
    okay i figured it out and got it all working thank you guys
    what was it? and dot notation is basically views.whatever.alpha = 0.0 instead of 'set alpha 0.0 whatevre'

  9. #988
    iPhoneaholic iGamers's Avatar
    Join Date
    Jun 2011
    Location
    Riverside, California, United States
    Posts
    479
    Thanks
    24
    Thanked 81 Times in 61 Posts

    i couldnt tell you what it was lol, i just deleted the scrollview part and kept the category buttons it was holding, and then rebuilt it from scratch again and it fixed it, im assuming i just made some small mistake that i didnt catch

  10. #989
    Delirious kooris's Avatar
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    620
    Thanks
    125
    Thanked 1,250 Times in 186 Posts

    Quote Originally Posted by iGamers View Post
    the wiki does explain the basic functionality and gives enough information that people should be able to piece together themes, you did a good job on writing up the wiki



    how is the wallpaper stored?
    Its stored as a .bitmap now...which makes it a lot harder

  11. #990
    iPhoneaholic iGamers's Avatar
    Join Date
    Jun 2011
    Location
    Riverside, California, United States
    Posts
    479
    Thanks
    24
    Thanked 81 Times in 61 Posts

    Quote Originally Posted by kooris View Post
    Its stored as a .bitmap now...which makes it a lot harder
    damn it apple, always making crap harder for us

  12. #991
    Delirious kooris's Avatar
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    620
    Thanks
    125
    Thanked 1,250 Times in 186 Posts

    Quote Originally Posted by iGamers View Post
    It actually made a difference at one point, I had an if function tied to an icon on the status bar that when pressed it would check if the window was open and if it was open, itd close it, but if it was closed itd open it, I also had the red orb on the window tied to the same function, but it would just put my phone in safe mode when i pressed the red orb, i fixed it by reordering the if function so it was actually in order
    Are you sure? I made my whole theme from iFile and haven't had a problem yet...Usually its because I forgot a tag, or a letter eg.Scrollview instead of ScrollView etc...Also, the ordering of function within an Array is really important, almost made me redo my theme...

  13. #992
    iPhoneaholic iGamers's Avatar
    Join Date
    Jun 2011
    Location
    Riverside, California, United States
    Posts
    479
    Thanks
    24
    Thanked 81 Times in 61 Posts

    Code:
    				<dict>
    					<key>ClipToBounds</key>
    					<true/>
    					<key>ContentHeight</key>
    					<integer>480</integer>
    					<key>ContentOffsetX</key>
    					<integer>0</integer>
    					<key>ContentOffsetY</key>
    					<integer>0</integer>
    					<key>ContentWidth</key>
    					<integer>80</integer>
    					<key>FrameHeight</key>
    					<integer>226</integer>
    					<key>FrameWidth</key>
    					<integer>100</integer>
    					<key>FrameX</key>
    					<integer>21</integer>
    					<key>FrameY</key>
    					<integer>150</integer>
    					<key>HorizontalScrollBars</key>
    					<false/>
    					<key>VerticalScrollBars</key>
    					<true/>
    					<key>Paging</key>
    					<true/>
    					<key>ScrollingEnabled</key>
    					<true/>
    					<key>Subviews</key>
    					<array>
    but for some reason, my ScrollView wont actually scroll, i have the frameheight set to like 226 and my contentheight set to 480 horizontalscrolling disabled but vertical scrolling is true
    Last edited by iGamers; 07-04-2011 at 11:30 PM.

  14. #993
    Delirious kooris's Avatar
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    620
    Thanks
    125
    Thanked 1,250 Times in 186 Posts

    Quote Originally Posted by iGamers View Post
    Code:
    				<dict>
    					<key>ClipToBounds</key>
    					<true/>
    					<key>ContentHeight</key>
    					<integer>480</integer>
    					<key>ContentOffsetX</key>
    					<integer>0</integer>
    					<key>ContentOffsetY</key>
    					<integer>0</integer>
    					<key>ContentWidth</key>
    					<integer>80</integer>
    					<key>FrameHeight</key>
    					<integer>226</integer>
    					<key>FrameWidth</key>
    					<integer>100</integer>
    					<key>FrameX</key>
    					<integer>21</integer>
    					<key>FrameY</key>
    					<integer>150</integer>
    					<key>HorizontalScrollBars</key>
    					<false/>
    					<key>VerticalScrollBars</key>
    					<true/>
    					<key>Paging</key>
    					<true/>
    					<key>ScrollingEnabled</key>
    					<true/>
    					<key>Subviews</key>
    					<array>
    but for some reason, my ScrollView wont actually scroll, i have the frameheight set to like 226 and my contentheight set to 480 horizontalscrolling disabled but vertical scrolling is true
    Use the new dot notation.

    In your case-
    HTML Code:
    					<key>Frame</key>
    					<string>21,150,100,226</string>
    before you do anything else.

  15. #994
    My iPhone is a Part of Me
    Join Date
    Apr 2010
    Posts
    501
    Thanks
    142
    Thanked 88 Times in 54 Posts

    I need to unload the AllApps grid after a program is open.
    How can i do that please.

    thanks

  16. #995
    Delirious kooris's Avatar
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    620
    Thanks
    125
    Thanked 1,250 Times in 186 Posts

    Quote Originally Posted by guimenez View Post
    I need to unload the AllApps grid after a program is open.
    How can i do that please.

    thanks
    Action <Array> New in Version 1.1 determines the action to be done once an Application from the Grid is selected. Usually used to Toggle Off the Grid
    Just add an action to the appgrid itself - the action is triggered when an app is opened.

  17. The Following User Says Thank You to kooris For This Useful Post:

    guimenez (07-05-2011)

  18. #996

  19. The Following User Says Thank You to falcon212 For This Useful Post:

    guimenez (07-05-2011)

  20. #997
    My iPhone is a Part of Me
    Join Date
    Apr 2010
    Posts
    501
    Thanks
    142
    Thanked 88 Times in 54 Posts

    i want to animate my appGrid but i can't do it

    i'm using this command: set y 10 appGrid YES 1

    but it doesn't show me the appGrid

    Code:
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>set y 10 appGrid YES 1</string>
    			</array>
    			<key>Alpha</key>
    			<true/>
    			<key>ClipToBounds</key>
    			<true/>
    			<key>FrameHeight</key>
    			<integer>36</integer>
    			<key>FrameWidth</key>
    			<integer>73</integer>
    			<key>FrameX</key>
    			<integer>125</integer>
    			<key>FrameY</key>
    			<integer>425</integer>
    			<key>Image</key>
    			<string>/DreamBoard/xperiaX8/Images/Apps.png</string>
    			<key>Toggled</key>
    			<true/>
    			<key>ToggledInteraction</key>
    			<true/>
    			<key>UserIntetraction</key>
    			<false/>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>ShowGrid</string>
    		</dict>
    thanks

  21. #998
    iPhoneaholic iGamers's Avatar
    Join Date
    Jun 2011
    Location
    Riverside, California, United States
    Posts
    479
    Thanks
    24
    Thanked 81 Times in 61 Posts

    Quote Originally Posted by kooris View Post
    Use the new dot notation.

    In your case-
    HTML Code:
    					<key>Frame</key>
    					<string>21,150,100,226</string>
    before you do anything else.
    I changed it, but it still doesnt solve the no scroll issue

  22. #999
    Dreamboard Porter/Themer/Coder FrightDealer's Avatar
    Join Date
    Jan 2011
    Location
    var/Library/Dreamboard
    Posts
    1,287
    Thanks
    952
    Thanked 750 Times in 442 Posts

    @PhanaticD or Anyone else

    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>
    I tried the code you gave me. (<string>get.vars.cydiavar = 0 ? insertview CydiaSubMenu above Wallpaper, var.cydiavar = 1 : removeview CydiaSubMenu, var.cydiavar = 0</string>) But it seems that when i click the button, i get this popup saying; Runtime Error - Variable not Found for getter: get.var.cydiavar

    Should i get rid of the other removeviews? or is it written in the wrong format...i am trying other possibilities at the moment
    Last edited by FrightDealer; 07-05-2011 at 11:32 AM.

  23. #1000
    iPhoneaholic iGamers's Avatar
    Join Date
    Jun 2011
    Location
    Riverside, California, United States
    Posts
    479
    Thanks
    24
    Thanked 81 Times in 61 Posts

    Code:
    		<key>Edit</key>
    			<array>
    				<dict>
    					<key>if</key>
    						<array>
    							<string>get.vars.editing = 0</string>
    						</array>
    					<key>then</key>
    						<array>
    							<string>startediting</string>
    							<string>vars.editing = 1</string>
    							<string>views.Editing.image = /Images/StopEdit.png</string>
    							<string>hide EditPressed</string>
    							<string>hide EditMenu</string>
    							<string>sety EditMenu -189</string>
    							<string>hide Close</string>
    							<string>sety DreamBoard -189</string>
    							<string>sety Clock -189</string>
    							<string>sety WinterBoard -189</string>
    							<string>sety Editing -189</string>
    							<string>sety iPod -189</string>
    							<string>show Edit</string>
    						</array>
    					<key>else</key>
    						<array>
    							<string>stopediting</string>
    							<string>vars.editing = 0</string>
    							<string>views.Editing.image = /Images/EditApp.png</string>
    						</array>
    				</dict>
    			</array>
    now in addition to that scrolling problem my editing button puts my device in safe mode, it works fine without the strings that change the image, but idk why those strings cause safe mode, ive also tried

    Code:
    <string>get.vars.editing = 1 ? views.Editing.image = /Images/StopEdit.png : views.Editing.image = /Images/EditApp.png</string>

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