1. iGamers's Avatar
    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; 2011-07-05 at 01:47 AM.
    2011-07-05 01:26 AM
  2. PhanaticD's Avatar
    2011-07-05 01:28 AM
  3. iGamers's Avatar
    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
    2011-07-05 01:38 AM
  4. PhanaticD's Avatar
    Hmm and dreamboard doesnt pop up any error messages? If u use the new dot notation it might tell u
    2011-07-05 02:05 AM
  5. iGamers's Avatar
    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; 2011-07-05 at 03:01 AM.
    2011-07-05 02:09 AM
  6. FrightDealer's Avatar
    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!
    2011-07-05 03:42 AM
  7. PhanaticD's Avatar
    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'
    2011-07-05 05:02 AM
  8. iGamers's Avatar
    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
    2011-07-05 06:18 AM
  9. kooris's Avatar
    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
    2011-07-05 06:20 AM
  10. iGamers's Avatar
    Its stored as a .bitmap now...which makes it a lot harder
    damn it apple, always making crap harder for us
    2011-07-05 06:30 AM
  11. kooris's Avatar
    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...
    2011-07-05 06:45 AM
  12. iGamers's Avatar
    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; 2011-07-05 at 07:30 AM.
    2011-07-05 06:59 AM
  13. kooris's Avatar
    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.
    2011-07-05 09:40 AM
  14. guimenez's Avatar
    I need to unload the AllApps grid after a program is open.
    How can i do that please.

    thanks
    2011-07-05 10:20 AM
  15. kooris's Avatar
    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.
    2011-07-05 12:04 PM
  16. falcon212's Avatar
    I need to unload the AllApps grid after a program is open.
    How can i do that please.

    thanks
    use the removeview functions
    iPhone Themes: FlatNeue - Apex One - FlowBoard - Kassou HD - BoxorHD Widescreen - BoxorHD - BoxorHD Ceramic White - Bookshelf - AsymmetricHD
    iPad Themes: Honeypad Pro - HoneyPad Pro Retina - BoxorHD - BoxorHD Retina - Bookshelf - BoxorHD Ceramic White
    - All my themes in one Cydia website - open the link from your iDevice

    PayPal Donation: [email protected] | Twitter: changroy | HoneyPad Pro
    2011-07-05 01:13 PM
  17. guimenez's Avatar
    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
    2011-07-05 06:27 PM
  18. iGamers's Avatar
    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
    2011-07-05 06:55 PM
  19. FrightDealer's Avatar
    @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; 2011-07-05 at 07:32 PM.
    2011-07-05 07:29 PM
  20. iGamers's Avatar
    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>
    2011-07-05 09:24 PM
2,599 ... 40484950515260100 ...
LINK TO POST COPIED TO CLIPBOARD