+ Reply
Page 30 of 130 FirstFirst ... 202829303132 40 80 ... LastLast
Results 581 to 600 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;
ok so i understand putting that in. but but here do i put all that, and yes i got it. but i have canceled that theme, doing a new one.
...
  1. #581
    Livin the iPhone Life AngryPIG's Avatar
    Join Date
    Feb 2011
    Location
    Aberdeen, Scotland, UK
    Posts
    1,439
    Thanks
    320
    Thanked 926 Times in 452 Posts

    ok so i understand putting that in. but but here do i put all that,
    and yes i got it. but i have canceled that theme, doing a new one.
    cydia.myrepospace.com/AngryPIG/

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

    ah okay, uhm if u want it all the time, put it in ur OnLoad, but its a bug the statusbar reappers after locking or opening an app so u might want to add a button somewhere that hides the status bar

  3. #583
    Livin the iPhone Life AngryPIG's Avatar
    Join Date
    Feb 2011
    Location
    Aberdeen, Scotland, UK
    Posts
    1,439
    Thanks
    320
    Thanked 926 Times in 452 Posts

    Quote Originally Posted by PhanaticD View Post
    ah okay, uhm if u want it all the time, put it in ur OnLoad, but its a bug the statusbar reappers after locking or opening an app so u might want to add a button somewhere that hides the status bar
    i just made it a button, after respring it hid the statusbar,
    locked the phone, unlocked it was back, fair enough.
    pressed the button again statusbar did not hide.
    is that the bug?
    cydia.myrepospace.com/AngryPIG/

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

    it should take place immediately, make sure in ur buttons actions its just

    <string>hidestatusbar</string>

  5. #585
    Livin the iPhone Life AngryPIG's Avatar
    Join Date
    Feb 2011
    Location
    Aberdeen, Scotland, UK
    Posts
    1,439
    Thanks
    320
    Thanked 926 Times in 452 Posts

    so the button can only be used for that? cant have anything else to it?
    cydia.myrepospace.com/AngryPIG/

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

    you can make it do whatever you want, im just saying thats the action to hide the status bar

  7. #587
    Livin the iPhone Life AngryPIG's Avatar
    Join Date
    Feb 2011
    Location
    Aberdeen, Scotland, UK
    Posts
    1,439
    Thanks
    320
    Thanked 926 Times in 452 Posts

    i see, yes thats have i have, no spaces.
    =/
    cydia.myrepospace.com/AngryPIG/

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

    do any other buttons work? because now someitmes if u have a bug dreamboard will stop all buttons from doing anything

  9. #589
    Livin the iPhone Life AngryPIG's Avatar
    Join Date
    Feb 2011
    Location
    Aberdeen, Scotland, UK
    Posts
    1,439
    Thanks
    320
    Thanked 926 Times in 452 Posts

    the all work fine. the button i have it one also does other stuff and its it all but no hide statusbar
    cydia.myrepospace.com/AngryPIG/

  10. #590
    iPhone? More like MyPhone Lopeard's Avatar
    Join Date
    May 2011
    Location
    /Dreamboard/Snow Lopeard/SnowLopeard.plist
    Posts
    269
    Thanks
    8
    Thanked 146 Times in 83 Posts

    here's a short demo of some extreme DreamBoarding
    making dragable objects magnetic


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

    Quote Originally Posted by PhanaticD View Post
    U need to use views.viewname.alpha = 0.0 to hide it And views.viename.alpha = 1.0 to show it. To start off hidden or showing add an alpha key to ur views properties <key>Alpha</key><real>0.0</real>

    Pig u hafta have that action run. Did u ever get my email? I know its not wat u wanted but its some kinda start
    Thanks PhanaticD

    But i just need to put this code in action button? or a need to use if and else
    views.viename.alpha = 1.0
    views.viewname.alpha = 0.0

    thanks

  12. #592
    iPhone? More like MyPhone Lopeard's Avatar
    Join Date
    May 2011
    Location
    /Dreamboard/Snow Lopeard/SnowLopeard.plist
    Posts
    269
    Thanks
    8
    Thanked 146 Times in 83 Posts

    Quote Originally Posted by AngryPIG View Post
    i just made it a button, after respring it hid the statusbar,
    locked the phone, unlocked it was back, fair enough.
    pressed the button again statusbar did not hide.
    is that the bug?
    you need to make the button actions like this
    (the statusbar is still set to hidden even if it reappears so you need to show it before you can hide it again)
    HTML Code:
    <dict>
        <key>Actions</key>
        <array>
            <string>showstatusbar</string>
            <string>hidestatusbar</string>
        </array>
        <key>FrameHeight</key>
        <integer>60</integer>
        <key>FrameWidth</key>
        <integer>60</integer>
        <key>FrameX</key>
        <integer>0</integer>
        <key>FrameY</key>
        <integer>0</integer>
        <key>Image</key>
        <string>$ROOT/Images/statusbarhide.png</string>
        <key>ViewType</key>
        <string>Button</string>
        <key>id</key>
        <string>statusBarHide</string>
    </dict>

  13. The Following 2 Users Say Thank You to Lopeard For This Useful Post:

    AngryPIG (06-16-2011), PhanaticD (06-15-2011)

  14. #593
    iPhone? More like MyPhone Lopeard's Avatar
    Join Date
    May 2011
    Location
    /Dreamboard/Snow Lopeard/SnowLopeard.plist
    Posts
    269
    Thanks
    8
    Thanked 146 Times in 83 Posts

    Quote Originally Posted by Lopeard View Post
    you need to make the button actions like this
    (the statusbar is still set to hidden even if it reappears so you need to show it before you can hide it again)
    HTML Code:
    <dict>
        <key>Actions</key>
        <array>
            <string>showstatusbar</string>
            <string>hidestatusbar</string>
        </array>
        <key>FrameHeight</key>
        <integer>60</integer>
        <key>FrameWidth</key>
        <integer>60</integer>
        <key>FrameX</key>
        <integer>0</integer>
        <key>FrameY</key>
        <integer>0</integer>
        <key>Image</key>
        <string>$ROOT/Images/statusbarhide.png</string>
        <key>ViewType</key>
        <string>Button</string>
        <key>id</key>
        <string>statusBarHide</string>
    </dict>
    btw ... this also counts for views..
    say you insert a scrollview. In that view you load a dynamicview.
    Then you save it and remove the scrollview.
    if you open the scrollview and insert the dynamic view again it will not appear because it has not been removed.

    so fist remove the subviews then remove the scrollview...

    I use this pretty often in Lopeard

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

    lopeard i hope u post in this thread more thanks for helpin.

    @guimenez it depends, if you want the same button to hide and to show it then yea it would be a if/else with a another variable. so make a variable called myvar and set it equal to 0 and then this would be ur buttons action

    <string>get.vars.myvar = 0 ? views.myview.alpha = 1.0, vars.myvar = 1 : views.myview.alpha = 0.0, vars.myvar = 0</string>

    so basically this says that every time u run this action it will hide the view if the variable myvar is 1 and show it if its 0. this is useful if u want to use something else besides just the one button, say if u wanted another view to pop up but also to close this one if it was open, u'd just run the function (you should put it in a function if different buttons use the same commands)

  16. #595
    Green Apple
    Join Date
    Jun 2011
    Posts
    82
    Thanks
    83
    Thanked 15 Times in 12 Posts

    In the endroid theme, how can I make it so that the dock will go down on page 3 as it does on page 1?

    Or how do I stop it from "going down" on page 1?


    EDIT
    Managed to stop it from "going down"
    But to make it to do like in my first question would be much cooler :P

    EDIT2
    I'm also trying to put a twitter widget on page 1 and a google widget on page 3 without success help please?
    Last edited by kakadua; 06-16-2011 at 12:54 AM.

  17. #596
    iPhone? More like MyPhone Lopeard's Avatar
    Join Date
    May 2011
    Location
    /Dreamboard/Snow Lopeard/SnowLopeard.plist
    Posts
    269
    Thanks
    8
    Thanked 146 Times in 83 Posts

    Quote Originally Posted by kakadua View Post
    In the endroid theme, how can I make it so that the dock will go down on page 3 as it does on page 1?

    Or how do I stop it from "going down" on page 1?


    EDIT
    Managed to stop it from "going down"
    But to make it to do like in my first question would be much cooler :P

    EDIT2
    I'm also trying to put a twitter widget on page 1 and a google widget on page 3 without success help please?
    HTML Code:
    <dict>
    
    <!-- this checks the coordinate of the scrollview
    if it is greater than 320 or equal it does the first action
    greater than 320 or equal means anything starting from page two up. -->
    
    <key>if</key><array><string>get.views.ScrollView.contentOffsetX gt= 320</string></array>
    
    <!-- this is what should happen if the coordinate of the ScrollView is 320px or higher
    in this case it moves the clock wrapper to the same coordinate as the offset of the Scrollview is -->
    
    <key>then</key><array><string>views.Clock_Wrapper.x = get.views.ScrollView.contentOffsetX</string></array>
    
    <!-- if the coordinate is lower than 320 we need a different action. Lower than 320 means we are on page 1. -->
    
    <key>else</key><array>
    
     <!-- the dock will move according to the offset of the scrollview.
    as soon as you go to page 1 it will move down. some math is used to make it animate while scrolling. --> 
    
    <string>views.dock.y = get.views.ScrollView.contentOffsetX / 320 * -65 + 480</string>
      <string>views.Clock_Wrapper.x = 320</string>
    </array>
    </dict>
    so if you want the dock to move down on page 3 too you would integrate another action and calculate the position of the Dock when you go there.
    Lopeard the best OS X Snow Leopard theme for your iPhone
    Click here for more info

  18. #597
    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 Lopeard View Post
    here's a short demo of some extreme DreamBoarding
    making dragable objects magnetic

    WOW, how did you do it?

  19. #598
    Green Apple
    Join Date
    Jun 2011
    Posts
    82
    Thanks
    83
    Thanked 15 Times in 12 Posts

    I think I understand (kind of, lol). I'll give it a try. Thank you Lopeard

    EDIT:
    Lol, I'm really failing xD >.<
    Last edited by kakadua; 06-16-2011 at 02:23 AM.

  20. #599
    iPhone? More like MyPhone Lopeard's Avatar
    Join Date
    May 2011
    Location
    /Dreamboard/Snow Lopeard/SnowLopeard.plist
    Posts
    269
    Thanks
    8
    Thanked 146 Times in 83 Posts

    Quote Originally Posted by kooris View Post
    WOW, how did you do it?
    look here for the source code: dragable objects and magnetism | Snow Lopeard OS IV

    I basically made 3 buttons. and a scrollview
    the scrollview moves one button (magnet) the second button is the steel cup.
    the third button (lopeard icon) is just a dreamboard link.

    if coordinate y of the magnet is coordinate y of the cup plus 80 (strength of the magnet.. if you take 100 it will be harder to pull the two apart and the cup will stick to the magnet from a further distance) then the coordinate y of the cup will be the same as the coordinate of the magnet minus 64 (height of the cup)
    .. so this is actually magnetism.
    You can also make a minus and plus pole to make objects move away from a magnet.
    you can make strong or soft magnets.

    HTML Code:
              <key>Actions</key>
              <array>
    
                <string>views.button1.x = get.views.button1Mover.contentOffsetX / -1 + 320</string>
                <string>views.button1.y = get.views.button1Mover.contentOffsetY / -1 + 400</string>
                <string>views.button1Mover.x = get.views.button1Mover.contentOffsetX / -1 + 320</string>
                <string>views.button1Mover.y = get.views.button1Mover.contentOffsetY / -1 + 400</string>
                  <dict>
                    <key>if</key><array><string>get.views.button1.y lt= get.views.button2.y + 80</string><string>get.views.button1.y gt= get.views.button2.y - 20</string><string>get.views.button1.x lt= get.views.button2.x + 80</string><string>get.views.button1.x gt= get.views.button2.x - 20</string></array>
                    <key>then</key><array><string>views.button2.x = get.views.button1.x</string><string>views.button2.y = get.views.button1.y - 64 animated:2.0</string></array>
                    <key>else</key><array></array>
                  </dict>
              </array>
    Lopeard the best OS X Snow Leopard theme for your iPhone
    Click here for more info

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

    Hey Lopeard, for the lockscreen:

    Heres my idea:

    You enter your password through the normal keyboard, function savepass (somehow save digits to passvar)savevar.

    if passvar = 1234 (example password)

    then function unload lockscreen (unload LockView)

    else function wrongpass (insertview wrongpass)

    Is my logic correct?

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