+ Reply
Page 99 of 130 FirstFirst ... 49 89979899100101 109 ... LastLast
Results 1,961 to 1,980 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;
Originally Posted by kuanyu Use text editor. But then the code isn't colorful
...
  1. #1961
    My iPhone is a Part of Me Mr. Russian's Avatar
    Join Date
    Feb 2011
    Location
    Sacramento, California
    Posts
    511
    Thanks
    32
    Thanked 49 Times in 44 Posts

    Quote Originally Posted by kuanyu View Post
    Use text editor.
    But then the code isn't colorful
    CHECK OUT THIS AWESOME THEME
    Windows Vista
    Follow me on Twitter - Mr_Russ1an

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

    Okay, I got log working...but the problem is, it can only store one value at a time eg. Only one property of one view...and whenever I want to use it, it always uses the very first value logged...Anyone else try it?

  3. #1963
    My iPhone is a Part of Me Mr. Russian's Avatar
    Join Date
    Feb 2011
    Location
    Sacramento, California
    Posts
    511
    Thanks
    32
    Thanked 49 Times in 44 Posts

    Quote Originally Posted by kooris View Post
    Okay, I got log working...but the problem is, it can only store one value at a time eg. Only one property of one view...and whenever I want to use it, it always uses the very first value logged...Anyone else try it?
    How did you get it working?
    CHECK OUT THIS AWESOME THEME
    Windows Vista
    Follow me on Twitter - Mr_Russ1an

  4. #1964
    My iPhone is a Part of Me noelbob's Avatar
    Join Date
    Aug 2009
    Location
    Stuck in Ohio
    Posts
    514
    Thanks
    138
    Thanked 185 Times in 116 Posts

    Quote Originally Posted by christoforo View Post
    Is it possible to run dreamboard through the iPhone simulator and Xcode
    Im not sure if anyone has tried running it through an iPhone simulator but if you try let us know if it works it could make making themes easier

    @kooris what are you using log for?
    Last edited by noelbob; 11-07-2011 at 08:01 PM.

  5. #1965
    My iPhone is a Part of Me Mr. Russian's Avatar
    Join Date
    Feb 2011
    Location
    Sacramento, California
    Posts
    511
    Thanks
    32
    Thanked 49 Times in 44 Posts

    Quote Originally Posted by noelbob View Post
    Im not sure if anyone has tried running it through an iPhone simulator but if you try let us know if it works it could make making themes easier

    @kooris what are you using log for?
    How would it be possible? I can try running it through the iPhone simulator but I don't know how I would do that.
    CHECK OUT THIS AWESOME THEME
    Windows Vista
    Follow me on Twitter - Mr_Russ1an

  6. #1966
    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 noelbob View Post
    Im not sure if anyone has tried running it through an iPhone simulator but if you try let us know if it works it could make making themes easier

    @kooris what are you using log for?
    Something simple, like

    log get.views.ScrollView.contentOffsetX

    then a button

    views.ScrollView.contentOffsetX = (something)

    It is this (something) that I dont know what to put exactly. But, if I put

    views.ScrollView.contentOffsetX = log.views.ScrollView.contentOffsetX

    it just sets the views.ScrollView.contentOffsetX to 0

  7. #1967
    My iPhone is a Part of Me noelbob's Avatar
    Join Date
    Aug 2009
    Location
    Stuck in Ohio
    Posts
    514
    Thanks
    138
    Thanked 185 Times in 116 Posts

    Try using vars instead of log

  8. #1968
    Dreamboard Porter/Themer/Coder FrightDealer's Avatar
    Join Date
    Jan 2011
    Location
    var/Library/Dreamboard
    Posts
    1,286
    Thanks
    952
    Thanked 747 Times in 441 Posts

    I gots me a question and i need u geniuses to answer it. How do i have a button, change the zip code of all the widgets in your theme? I have lik 6 widgets in my theme. Each one has a preset location. So instead of people going into the .js or w/e to change the zip code i want a button to do it for all of them. I kno i have to go into the widgets and edit something. but idk what. Can anyone help me? What would be the coding for that button?

  9. #1969
    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 noelbob View Post
    Try using vars instead of log
    Then it would look for a var named ....

    Quote Originally Posted by FrightDealer View Post
    I gots me a question and i need u geniuses to answer it. How do i have a button, change the zip code of all the widgets in your theme? I have lik 6 widgets in my theme. Each one has a preset location. So instead of people going into the .js or w/e to change the zip code i want a button to do it for all of them. I kno i have to go into the widgets and edit something. but idk what. Can anyone help me? What would be the coding for that button?
    Thats something to do with Html and that sort, might be kinda hard...

  10. #1970
    Dreamboard Porter/Themer/Coder FrightDealer's Avatar
    Join Date
    Jan 2011
    Location
    var/Library/Dreamboard
    Posts
    1,286
    Thanks
    952
    Thanked 747 Times in 441 Posts

    Quote Originally Posted by kooris View Post
    Then it would look for a var named ....



    Thats something to do with Html and that sort, might be kinda hard...
    But many themes use it...hmmm, might just download one of the free ones and see how to do it.

  11. #1971
    My iPhone is a Part of Me Mr. Russian's Avatar
    Join Date
    Feb 2011
    Location
    Sacramento, California
    Posts
    511
    Thanks
    32
    Thanked 49 Times in 44 Posts

    Quote Originally Posted by FrightDealer View Post
    But many themes use it...hmmm, might just download one of the free ones and see how to do it.
    You can check on the endroid theme
    CHECK OUT THIS AWESOME THEME
    Windows Vista
    Follow me on Twitter - Mr_Russ1an

  12. The Following User Says Thank You to Mr. Russian For This Useful Post:

    FrightDealer (11-08-2011)

  13. #1972
    Dreamboard Porter/Themer/Coder FrightDealer's Avatar
    Join Date
    Jan 2011
    Location
    var/Library/Dreamboard
    Posts
    1,286
    Thanks
    952
    Thanked 747 Times in 441 Posts

    Quote Originally Posted by Mr. Russian View Post
    You can check on the endroid theme
    Yea, once i get it working, i shall let u beta test it. Also, i am having a little issue, where the dam images won't show up in the view. Let me paste the coding. They are just images set as button, it worked for wallpaper but not for dam Widget.

    Code:
    <key>WidgetGrid</key>
    		<dict>
    			<key>Frame</key>
    			<string>0,0,320,480</string>
    			<key>Subviews</key>
    			<array>
    				<dict>
    					<key>ClipToBounds</key>
    					<true/>
    					<key>Frame</key>
    					<string>6,34,308,380</string>
    					<key>ContentHeight</key>
    					<integer>380</integer>
    					<key>ContentWidth</key>
    					<integer>616</integer>
    					<key>ViewType</key>
    					<string>ScrollView</string>
    					<key>Paging</key>
    					<true/>
    					<key>ScrollingEnabled</key>
    					<true/>
    					<key>Subviews</key>
    					<array>
    						<dict>
    							<key>Actions</key>
    							<array>
    								<string>vars.widget = 1</string>
    								<string>function ChangeWidget</string>
    							</array>
    							<key>Frame</key>
    							<string>22,1,118,177</string>
    							<key>Image</key>
    							<string>$ROOT/Wallpapers/Thumbs/SBSlideShow.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    						</dict>
    						<dict>
    							<key>Actions</key>
    							<array>
    								<string>vars.widget = 2</string>
    								<string>function ChangeWidget</string>
    							</array>
    							<key>Frame</key>
    							<string>168,1,118,177</string>
    							<key>Image</key>
    							<string>$ROOT/Wallpapers/Thumbs/PumpSB.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    						</dict>
    						<dict>
    							<key>Actions</key>
    							<array>
    								<string>vars.widget = 3</string>
    								<string>function ChangeWidget</string>
    							</array>
    							<key>Frame</key>
    							<string>22,190,118,177</string>
    							<key>Image</key>
    							<string>$ROOT/Wallpapers/Thumbs/PlanetScene.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    						</dict>
    						<dict>
    							<key>Actions</key>
    							<array>
    								<string>vars.widget = 4</string>
    								<string>function ChangeWidget</string>
    							</array>
    							<key>Frame</key>
    							<string>168,190,118,177</string>
    							<key>Image</key>
    							<string>$ROOT/Wallpapers/Thumbs/HMMod.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    						</dict>
    						<dict>
    							<key>Actions</key>
    							<array>
    								<string>vars.widget = 5</string>
    								<string>function ChangeWidget</string>
    							</array>
    							<key>Frame</key>
    							<string>330,1,118,177</string>
    							<key>Image</key>
    							<string>$ROOT/Wallpapers/Thumbs/DarkstarHTC.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    						</dict>
    					</array>
    				</dict>
    				<dict>
    					<key>Actions</key>
    					<array>
    						<string>vars.widgrid = 0</string>
    						<string>vars.Nav = 6</string>
    						<string>function Foldering</string>
    					</array>
    					<key>Frame</key>
    					<string>6,420,308,60</string>
    					<key>Image</key>
    					<string>$ROOT/Images/Settings/close.png</string>
    					<key>ViewType</key>
    					<string>Button</string>
    				</dict>
    				<dict>
    					<key>Frame</key>
    					<string>0,0,320,480</string>
    					<key>ViewType</key>
    					<string>ImageView</string>
    					<key>Image</key>
    					<string>$ROOT/Images/ExtraFolder.png</string>
    				</dict>
    			</array>
    			<key>ViewType</key>
    			<string>View</string>
    			<key>id</key>
    			<string>WidgetGrid</string>
    		</dict>

  14. #1973
    My iPhone is a Part of Me noelbob's Avatar
    Join Date
    Aug 2009
    Location
    Stuck in Ohio
    Posts
    514
    Thanks
    138
    Thanked 185 Times in 116 Posts

    Quote Originally Posted by kooris View Post
    Then it would look for a var named ....
    Exactly make it use vars not log

    @FrightDealer im not to good with that as you know but check the image strings and make sure they are right but thats all i got
    Last edited by noelbob; 11-08-2011 at 06:18 PM.

  15. #1974
    Dreamboard Porter/Themer/Coder FrightDealer's Avatar
    Join Date
    Jan 2011
    Location
    var/Library/Dreamboard
    Posts
    1,286
    Thanks
    952
    Thanked 747 Times in 441 Posts

    Quote Originally Posted by noelbob View Post
    Exactly make it use vars not log

    @FrightDealer im not to good with that as you know but check the image strings and make sure they are right but thats all i got
    I checked it twice...but im tired. i'll check tomorow. Pissing me off

  16. #1975
    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 noelbob View Post
    Exactly make it use vars not log

    @FrightDealer im not to good with that as you know but check the image strings and make sure they are right but thats all i got
    I'm sorry, you didn't get my point... I was trying to figure a use for log, other than for developers to place views pixel-perfect. (Such as creating a Scrollview, create a button that logs the contentoffset, then move, log, move, log...) Currently the way that it works isn't even useful for Html, so I don't find any real purpose. I trying to figure if it had any other function

    Btw, I figured out how to place Badges anywhere you like, If you guys want to know, just ask.

  17. #1976
    Dreamboard Porter/Themer/Coder FrightDealer's Avatar
    Join Date
    Jan 2011
    Location
    var/Library/Dreamboard
    Posts
    1,286
    Thanks
    952
    Thanked 747 Times in 441 Posts

    Quote Originally Posted by kooris View Post
    I'm sorry, you didn't get my point... I was trying to figure a use for log, other than for developers to place views pixel-perfect. (Such as creating a Scrollview, create a button that logs the contentoffset, then move, log, move, log...) Currently the way that it works isn't even useful for Html, so I don't find any real purpose. I trying to figure if it had any other function

    Btw, I figured out how to place Badges anywhere you like, If you guys want to know, just ask.
    The badge thing would be useful for the theme im updating, mind sharing?

  18. #1977
    My iPhone is a Part of Me Mr. Russian's Avatar
    Join Date
    Feb 2011
    Location
    Sacramento, California
    Posts
    511
    Thanks
    32
    Thanked 49 Times in 44 Posts

    Quote Originally Posted by FrightDealer View Post
    The badge thing would be useful for the theme im updating, mind sharing?
    You make an app icon view. I can post the code of one if you want.

    Quote Originally Posted by FrightDealer View Post
    Yea, once i get it working, i shall let u beta test it. Also, i am having a little issue, where the dam images won't show up in the view. Let me paste the coding. They are just images set as button, it worked for wallpaper but not for dam Widget.

    Code:
    <key>WidgetGrid</key>
    		<dict>
    			<key>Frame</key>
    			<string>0,0,320,480</string>
    			<key>Subviews</key>
    			<array>
    				<dict>
    					<key>ClipToBounds</key>
    					<true/>
    					<key>Frame</key>
    					<string>6,34,308,380</string>
    					<key>ContentHeight</key>
    					<integer>380</integer>
    					<key>ContentWidth</key>
    					<integer>616</integer>
    					<key>ViewType</key>
    					<string>ScrollView</string>
    					<key>Paging</key>
    					<true/>
    					<key>ScrollingEnabled</key>
    					<true/>
    					<key>Subviews</key>
    					<array>
    						<dict>
    							<key>Actions</key>
    							<array>
    								<string>vars.widget = 1</string>
    								<string>function ChangeWidget</string>
    							</array>
    							<key>Frame</key>
    							<string>22,1,118,177</string>
    							<key>Image</key>
    							<string>$ROOT/Wallpapers/Thumbs/SBSlideShow.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    						</dict>
    						<dict>
    							<key>Actions</key>
    							<array>
    								<string>vars.widget = 2</string>
    								<string>function ChangeWidget</string>
    							</array>
    							<key>Frame</key>
    							<string>168,1,118,177</string>
    							<key>Image</key>
    							<string>$ROOT/Wallpapers/Thumbs/PumpSB.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    						</dict>
    						<dict>
    							<key>Actions</key>
    							<array>
    								<string>vars.widget = 3</string>
    								<string>function ChangeWidget</string>
    							</array>
    							<key>Frame</key>
    							<string>22,190,118,177</string>
    							<key>Image</key>
    							<string>$ROOT/Wallpapers/Thumbs/PlanetScene.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    						</dict>
    						<dict>
    							<key>Actions</key>
    							<array>
    								<string>vars.widget = 4</string>
    								<string>function ChangeWidget</string>
    							</array>
    							<key>Frame</key>
    							<string>168,190,118,177</string>
    							<key>Image</key>
    							<string>$ROOT/Wallpapers/Thumbs/HMMod.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    						</dict>
    						<dict>
    							<key>Actions</key>
    							<array>
    								<string>vars.widget = 5</string>
    								<string>function ChangeWidget</string>
    							</array>
    							<key>Frame</key>
    							<string>330,1,118,177</string>
    							<key>Image</key>
    							<string>$ROOT/Wallpapers/Thumbs/DarkstarHTC.png</string>
    							<key>ViewType</key>
    							<string>Button</string>
    						</dict>
    					</array>
    				</dict>
    				<dict>
    					<key>Actions</key>
    					<array>
    						<string>vars.widgrid = 0</string>
    						<string>vars.Nav = 6</string>
    						<string>function Foldering</string>
    					</array>
    					<key>Frame</key>
    					<string>6,420,308,60</string>
    					<key>Image</key>
    					<string>$ROOT/Images/Settings/close.png</string>
    					<key>ViewType</key>
    					<string>Button</string>
    				</dict>
    				<dict>
    					<key>Frame</key>
    					<string>0,0,320,480</string>
    					<key>ViewType</key>
    					<string>ImageView</string>
    					<key>Image</key>
    					<string>$ROOT/Images/ExtraFolder.png</string>
    				</dict>
    			</array>
    			<key>ViewType</key>
    			<string>View</string>
    			<key>id</key>
    			<string>WidgetGrid</string>
    		</dict>
    I think that widgets don't work as buttons. You need to have a transparent image above then to toggle something. Widgets have to be in webviews.
    CHECK OUT THIS AWESOME THEME
    Windows Vista
    Follow me on Twitter - Mr_Russ1an

  19. #1978
    Dreamboard Porter/Themer/Coder FrightDealer's Avatar
    Join Date
    Jan 2011
    Location
    var/Library/Dreamboard
    Posts
    1,286
    Thanks
    952
    Thanked 747 Times in 441 Posts

    Quote Originally Posted by Mr. Russian View Post
    You make an app icon view. I can post the code of one if you want.



    I think that widgets don't work as buttons. You need to have a transparent image above then to toggle something. Widgets have to be in webviews.
    Alright, don't worry, i got it working now. TY. Now i need help with the Weather.html thing
    Last edited by FrightDealer; 11-09-2011 at 02:06 PM.

  20. #1979
    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 FrightDealer View Post
    The badge thing would be useful for the theme im updating, mind sharing?
    Quote Originally Posted by Mr. Russian View Post
    You make an app icon view. I can post the code of one if you want.
    I wish it were that easy,

    First you make an AppIcon View

    Then you have to increase the frame width if you want to move the badge to the left, or decrease the width to move it to the right.

    Then the same with the height, increase the fame height to move it up, and decrease to move it down.

    Now, you have to adjust the x and y positions to counter the shift in position in the icon.

    I'm gonna try this with an appgrid.

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

    FrightDealer (11-09-2011)

  22. #1980
    My iPhone is a Part of Me Mr. Russian's Avatar
    Join Date
    Feb 2011
    Location
    Sacramento, California
    Posts
    511
    Thanks
    32
    Thanked 49 Times in 44 Posts

    Quote Originally Posted by kooris View Post
    I wish it were that easy,

    First you make an AppIcon View

    Then you have to increase the frame width if you want to move the badge to the left, or decrease the width to move it to the right.

    Then the same with the height, increase the fame height to move it up, and decrease to move it down.

    Now, you have to adjust the x and y positions to counter the shift in position in the icon.

    I'm gonna try this with an appgrid.
    Yep this took me like 30 minutes to get like 4 badges looking right. A lot of testing.
    CHECK OUT THIS AWESOME THEME
    Windows Vista
    Follow me on Twitter - Mr_Russ1an

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