Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread

    Reply
    Page 46 of 140 | Prev | 36   44     45   46   47     48   56 | Next | Last
    JonWW | # 451 | 2010-07-26, 08:23 | Report

    Originally Posted by techie View Post
    And what is meant by alpha transparency?
    Alpha transparency:
    GIF files can have up to 256 colours or 255 colours and 1 colour that is tranparent. So a pixel can either let the background show through or display defined colour.
    PNG 8 bit (1 byte/pixel) are the same as GIF files.
    PNG 24 bit (3 bytes/pixel) have no tranparency but full colour.
    PNG 32 bit (4 bytes/pixel) have full colour and 256 levels of transparency.
    For example the background to desktop icons are semi transparent meaning things underneath them will show through to some extent. So each pixel's transparent value can be set individualy
    not just one level for the whole image.
    Hope this helps.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to JonWW For This Useful Post:
    Patola

     
    Oposum | # 452 | 2010-07-26, 08:37 | Report

    Originally Posted by techie View Post
    QBW version 1.0.0.1 required

    Code:
    [queen-beecon-header]
    version=1.000000
    checksum=21249112
    [queen-beecon-exported-instance]
    widgetType=1
    widgetVisible=1
    operationalStatus=0
    hideCanvas=false
    snippetBgRGB=0
    snippetExtBgRGB=#000000000000
    beecon_lt0_ImgZoom=0
    beecon_lt0_BgRGB=2
    beecon_lt0_ExtBgRGB=#808080808080
    beecon_lt0_ImgFilename=queen-beecon-syserr.png
    beecon_eq0_ImgZoom=0
    beecon_eq0_BgRGB=3
    beecon_eq0_ExtBgRGB=#0000ffff0000
    beecon_eq0_ImgFilename=queen-beecon-appok.png
    beecon_eq1_ImgZoom=0
    beecon_eq1_BgRGB=4
    beecon_eq1_ExtBgRGB=#ffffffff0000
    beecon_eq1_ImgFilename=queen-beecon-appwrn.png
    beecon_ge2_ImgZoom=0
    beecon_ge2_BgRGB=5
    beecon_ge2_ExtBgRGB=#ffff00000000
    beecon_ge2_ImgFilename=queen-beecon-apperr.png
    beecon_idxge2_ImgZoom=0
    beecon_idxge2_BgRGB=11
    beecon_idxge2_ExtBgRGB=#0000ffffffff
    beecon_idxge2_ImgFilename=queen-beecon-index.png
    widWidth=190.73667711598748
    widHeight=87.567567567567565
    instanceTitle=OC Control Panel
    instanceCmd=Name_Profile_1=ideal\nName_Profile_2=default\nDisp_Name_Profile_2=STOCK\nName_Profile_3=ideal\nDisp_Name_Profile_3=IDEAL\nif [ $QBW_EXEC_REASON == "QBW_TIMER_UPDATE" ] ; then  \n  if [ "$QBW_REMEMBER_ME" = locked ] ; then\n    exit 0\n  fi\n  if [ "$QBW_REMEMBER_ME" != fixed ] ; then\n    rootsh /usr/local/bin/overclock > /dev/null;\n  fi\nelif [ $QBW_EXEC_REASON == "QBW_DBUS_MONITOR" ] ; then\n  echo '$QBW_DBUS_VERBOSE_OUTPUT' > /home/user/.QBW_DBUS_TEMP ;\n  if [ $(awk '/string/ {print $2}' /home/user/.QBW_DBUS_TEMP) = "\\"locked\\"" ] ; then\n    rootsh /usr/local/bin/underclock > /dev/null\n    run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"rememberMe" string:locked string:""\n    exit 0\n  elif [ $(awk '/string/ {print $2}' /home/user/.QBW_DBUS_TEMP) = "\\"unlocked\\"" ] ; then\n    rootsh /usr/local/bin/overclock > /dev/null    \n    run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"rememberMe" string:unlocked string:""\n    run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"resImgFilename" string:smart.png string:""  \n  fi\nelif [ $QBW_EXEC_REASON == "QBW_CLICK" ] ; then \n  if [ $QBW_HOTSPOT_PRESS -eq "1" -o $QBW_HOTSPOT_PRESS -eq 2 -o $QBW_HOTSPOT_PRESS -eq 3 ] ; then\n    rootsh kernel-config load $Name_Profile_1 > /dev/null\n    rootsh /usr/local/bin/overclock > /dev/null;\n    run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"resImgFilename" string:smart.png string:""\n  elif [ $QBW_HOTSPOT_PRESS -eq 4 -o $QBW_HOTSPOT_PRESS -eq 7 ] ; then\n    rootsh kernel-config load $Name_Profile_2 > /dev/null\n    run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"rememberMe" string:fixed string:""\n    run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"resImgFilename" string:profile2.png string:""\n  elif [ $QBW_HOTSPOT_PRESS -eq 6 -o $QBW_HOTSPOT_PRESS -eq 9 ] ; then\n    rootsh kernel-config load $Name_Profile_3 > /dev/null\n    run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"rememberMe" string:fixed string:""\n    run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"resImgFilename" string:profile3.png string:""\n  fi\nfi\necho -e "TEMPERATURE : <span font = \\"14\\"><b>`cat /sys/class/power_supply/bq27200-0/temp` C</b></span>\\nMAX CLOCK : <span font = \\"16\\"><b>`awk '{print $1/1000"MHz"}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq`</b></span>";echo -e "<span font = \\"18\\"><b><i>$Disp_Name_Profile_2    $Disp_Name_Profile_3</i></b></span>"
    rememberMe=unlocked
    cmdImgFilename=queen-beecon.png
    cmdImgZoom=0
    cmdFgRGB=1
    cmdExtFgRGB=#ffffffffffff
    cmdTextAngle=0
    cmdVisibilityPosition=0
    cmdImgVisibilityPosition=0
    cmdJustify=0
    cmdExtFont=Nokia Sans bold italic 12
    cmdFontName=3
    cmdFontSize=12
    resImgFilename=default.png
    resImgZoom=0
    resFgRGB=1
    resExtFgRGB=#ffffffffffff
    resTextAngle=0
    resVisibilityPosition=5
    resImgVisibilityPosition=5
    resJustify=2
    resExtFont=Nokia Sans 12
    resFontName=2
    resFontSize=12
    progressAnimationFrames=4
    progressAnimationTimer=4
    progressAnimationPos=4
    progressAnimationBasename=queen-beecon-progress
    updOnStartup=true
    updOnClick=true
    updOnDesktop=false
    updOnSight=false
    delayIndex=3
    customIntervalSecs=0
    updNeworkPolicy=0
    updOnDBUS=1
    updOnDBUSBus=0
    updOnDBUSMatchRule=type='signal',path='/com/nokia/mce/signal',interface='com.nokia.mce.signal',member='tklock_mode_ind'
    Hey techie, could you please rewrite/fix this for rootsh 1.8 (extras-devel version)? You just need to substitute the "rootsh" command with "sudo". Did this with your template, but the checksum is (of course) wrong then. Sorry, but I dont know who to calculate the new checksum. :/

    Here is a picture of the output of Queen Beecon with rootsh 1.8 + the occp script: http://bilderhost.com/show.php/2813_...726-102410.png

    Edit | Forward | Quote | Quick Reply | Thanks

     
    JonWW | # 453 | 2010-07-26, 08:48 | Report

    Originally Posted by !!Nokia N900!! View Post
    howcan i write a command for reboot??
    You can find the command in the Wiki:
    http://wiki.maemo.org/Phone_control#Reboot

    or:

    You can add the Reboot command to the power button menu if you wish. This way you wont acidently press it.

    You can find out how I did it in this old post.
    http://talk.maemo.org/showpost.php?p...&postcount=142

    Edit | Forward | Quote | Quick Reply | Thanks

     
    dandiesel | # 454 | 2010-07-26, 09:50 | Report

    Hi, have a question:

    When I click on any of my icons (widgets) it shows a black background behind the image,



    Can anyone tell me where I can remove this or change these parameters?

    Also, is it possible to add a custom animation onclick? I.e. when I click on an icon, it will glow briefly or swirl effect (i can try with a GIF later but thought I would ask first)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    techie | # 455 | 2010-07-26, 10:04 | Report

    Thanks JonWW.Now that you mention it I do faintly remember reading about this in one of my semesters

    @Oposum
    I did give instructions on changing to sudo somewhere but anyways attached is the edited file of the version you linked.Will do other variations if people want them,its just I don't understand why use a devel version (not even in testing)?? Unless it brings about some important must-have-right-now feature that I don't know about
    @dandiesel
    don't know about the black part but changing progress animation is easy.You just put your indexed sequential progress images in the queenbeecon directory and control the animation from within settings of the widget.
    For example the default animation has 4 frames and the images for it are queen-beecon-progress[0-3].png, but you only specify the name (queen-beecon-progress) in the settings without index.These are .png images don't know if a single gif can be handled.
    Have a look at this for clearer understanding

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: txt snippet_OCCP_root1.8.txt (4.8 KB, 145 views)

    Last edited by techie; 2010-07-26 at 10:09.
    The Following 3 Users Say Thank You to techie For This Useful Post:
    dandiesel, moepda, Oposum

     
    moepda | # 456 | 2010-07-26, 12:05 | Report

    to edit rootsh to sudo i opened widget and clicked advanced , now scroll down and edit where needed , the updated version with battery temperature/% workig well approx 4hrs in so far so good techie , edited versions with sudo nice but not essential as easy to edit

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to moepda For This Useful Post:
    techie

     
    dandiesel | # 457 | 2010-07-26, 12:47 | Report

    Originally Posted by techie View Post

    @dandiesel
    don't know about the black part but changing progress animation is easy.You just put your indexed sequential progress images in the queenbeecon directory and control the animation from within settings of the widget.
    For example the default animation has 4 frames and the images for it are queen-beecon-progress[0-3].png, but you only specify the name (queen-beecon-progress) in the settings without index.These are .png images don't know if a single gif can be handled.
    Have a look at this for clearer understanding
    Hi Techie, thanks for the reply.

    I've added icons queen-beecon-progress [0-3] and they're not working.

    Is it, queen-beecon-progress 0
    or queen-beecon-progress[0]?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    techie | # 458 | 2010-07-26, 13:14 | Report

    Originally Posted by dandiesel View Post
    Hi Techie, thanks for the reply.

    I've added icons queen-beecon-progress [0-3] and they're not working.

    Is it, queen-beecon-progress 0
    or queen-beecon-progress[0]?
    I knew I wasn't clear, that's why I edited my post to add the link but to no avail
    Your icons could be named whatever,(place them in MyDocs/.images/.queen_beecon_dir) what matters is the indexing.
    So you could have progress images like myimage0.png myimage1.png myimage2.png (no space between name & number).Then in the settings dialogue set image name myimage ("as is" without index & extension) and number of frames to 3 (because 0,1,2).Ask again if you run into any problem.
    I actually had thought of using custom animation for my own widget too but just couldn't find any good progress images so stuck with default & I am not good at designing (at all)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to techie For This Useful Post:
    dandiesel

     
    moepda | # 459 | 2010-07-26, 13:18 | Report

    I use transparent progress image so are invisible , not keen on default so used invisible instead...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    dandiesel | # 460 | 2010-07-26, 14:10 | Report

    Originally Posted by techie View Post
    I knew I wasn't clear, that's why I edited my post to add the link but to no avail
    Your icons could be named whatever,(place them in MyDocs/.images/.queen_beecon_dir) what matters is the indexing.
    So you could have progress images like myimage0.png myimage1.png myimage2.png (no space between name & number).Then in the settings dialogue set image name myimage ("as is" without index & extension) and number of frames to 3 (because 0,1,2).Ask again if you run into any problem.
    I actually had thought of using custom animation for my own widget too but just couldn't find any good progress images so stuck with default & I am not good at designing (at all)
    Thanks very much, I was putting a space in between the filename and the number. If you have any ideas for animations I can try and put some together!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 46 of 140 | Prev | 36   44     45   46   47     48   56 | Next | Last
vBulletin® Version 3.8.8
Normal Logout