Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Odds and ends

    Reply
    Page 22 of 30 | Prev | 12   20     21   22   23     24   | Next | Last
    Addison | # 211 | 2011-11-17, 04:38 | Report

    Ohmygosh.

    That did it.

    Thank you. Thank you.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Addison | # 212 | 2011-11-18, 10:36 | Report

    I'm trying to make a 80x477 transparent .xpm image.

    I went here, clicked the box on transparent, and made one then saved it as a .png file.
    http://pixlr.com/editor/

    I then took it here and converted it to .xpm.
    http://www.convertmyimage.com/index.php

    The image shows up black though on my tablet.

    Did I do something wrong on this?

    Here's the end result.
    side.zip

    Edit | Forward | Quote | Quick Reply | Thanks

     
    auouymous | # 213 | 2011-11-18, 10:54 | Report

    Originally Posted by Addison View Post
    I'm trying to make a 80x477 transparent .xpm image.
    Code:
    /* XPM */
    static char *image[] = {
    "80 477 1 1",
    ". c none",
    "   put 80 periods on this line inside the double quotes   ",
    "   repeat the above line 477 times   ",
    "   but leave off the comma on the last line   "
    };
    Put that in a plain text file called whatever.xpm, there is your image.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to auouymous For This Useful Post:
    Addison, lma

     
    Addison | # 214 | 2011-11-18, 11:37 | Report

    Thanks.

    I guess my idea won't work since the image is still black instead of transparent on the screen.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    auouymous | # 215 | 2011-11-18, 11:42 | Report

    Originally Posted by Addison View Post
    I guess my idea won't work since the image is still black instead of transparent on the screen.
    The image viewer displays its own background color and then the image is drawn over it. Transparency only works in contexts that support it such as icons placed over a background image.

    What are you trying to do?

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

     
    Addison | # 216 | 2011-11-18, 11:43 | Report

    A big, invisible touch screen key on the right side of the screen using Xkbd.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    auouymous | # 217 | 2011-11-18, 12:26 | Report

    Originally Posted by Addison View Post
    A big, invisible touch screen key on the right side of the screen using Xkbd.
    Windows can't be transparent so xkbd is setting the background to black and then drawing your transparent image. A new window inherits the content below it and might appear transparent before you draw anything. Problem is that it doesn't continuously inherit that content so you only get an initial snapshot. It also picks up any content drawn over the window as well, so the right side of notifications would appear to stay on the screen after the left side disappears.

    You'd have to write an app that opens a 1x1 pixel window and intercept all taps. Any taps on the left side would be passed through to windows below it and taps on the right side would invoke an action such as generating a key event and passing it through to the window below it. You can google for some sites that teach C and xlib programming, and make yourself a simple app in no time at all.

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

     
    Addison | # 218 | 2011-11-18, 12:27 | Report

    Oh please.

    You know that I'm a complete computermatard.

    Why did you think this thread has so many posts?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Addison | # 219 | 2011-11-18, 12:47 | Report

    Originally Posted by Addison View Post
    One other thing.

    xmmsctrl title

    Is there anything I can do with this?

    Like have the output go to the desktop background and being able to set the font, size, and color or something?

    That would be awesome.
    One thing that I would love to try and learn is how to hack something like flipcalendar.

    It supports a transparent background.

    With a few tweaks, instead of displaying the date, month and year, I could have it display the current song being played in Xmms right on the desktop.

    If done right, I think that would be very elegant looking.

    Care to teach me auouymous?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    auouymous | # 220 | 2011-11-21, 01:03 | Report

    Originally Posted by Addison View Post
    One thing that I would love to try and learn is how to hack something like flipcalendar. It supports a transparent background.
    Isn't that a home applet? AFAIK, applets draw to the root window, they aren't transparent windows floating above it.

    Originally Posted by Addison View Post
    With a few tweaks, instead of displaying the date, month and year, I could have it display the current song being played in Xmms right on the desktop.
    Just download the source code to a sample home applet from the maemo4 reference manual and add in some code to query xmmsctrl. Would be far easier than hacking it into an app that does something else.

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

     
    Page 22 of 30 | Prev | 12   20     21   22   23     24   | Next | Last
vBulletin® Version 3.8.8
Normal Logout