[livesupport-dev] graphics for the GUI
  • Akos,

    Sangita and I are working on the graphics now, and I've
    encountered a question that you might know how to answer -

    the palette design assumes curved edges, which necessitates
    transparency, and I don't know how to produce a graphic that is
    transparent against all background colors - normally we produce
    graphics to be transparent against a specific color, but in this case
    that won't work, because we have to take into consideration all the
    possible desktop colors.. is this a characteristic of programming
    that you can address? - it may be that we need to make hard edges
    to solve this problem as a last resort.

    I'm going to look into this further, but I thought I'd check with you
    to see if you've encountered this issue before.

    Thanks in advance,


    Charles

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • 2 Comments sorted by
  • charles truett wrote:
    > Akos,
    >
    > Sangita and I are working on the graphics now, and I've
    > encountered a question that you might know how to answer -
    >
    > the palette design assumes curved edges, which necessitates
    > transparency, and I don't know how to produce a graphic that is
    > transparent against all background colors - normally we produce
    > graphics to be transparent against a specific color, but in this case
    > that won't work, because we have to take into consideration all the
    > possible desktop colors.. is this a characteristic of programming
    > that you can address? - it may be that we need to make hard edges
    > to solve this problem as a last resort.
    >
    > I'm going to look into this further, but I thought I'd check with you
    > to see if you've encountered this issue before.
    >

    Sorry for replying so late. As far as I know, the GUI library we're
    planning to use, GTK+, supports the PNG file format, which has
    transparency support.


    Akos

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • This is a multi-part message in MIME format.
    --------------040909060600070808010909
    Content-Type: text/plain; charset=us-ascii; format=flowed
    Content-Transfer-Encoding: 7bit

    charles truett wrote:
    > Akos,
    >
    > Sangita and I are working on the graphics now, and I've
    > encountered a question that you might know how to answer -
    >
    > the palette design assumes curved edges, which necessitates
    > transparency, and I don't know how to produce a graphic that is
    > transparent against all background colors - normally we produce

    Now I've checked on this, and it is totally possible. See the attached
    screenshot, it's the wheelborrow sample of the GUI API (GTK--) we're
    using. It is simply superimposed on this very e-mail composition window
    I'm writing the text on.

    So, go ahead with the transparent graphic approach..


    Akos

    --------------040909060600070808010909
    Content-Type: text/plain; name="transparent_window_jpg"
    Content-Disposition: inline; filename="transparent_window_jpg"
    Content-Transfer-Encoding: 8bit

    The transparent_window_jpg file that was initially attached to this message has been stored of the mailing lists server :
    http://sympa.mdlf.org/wws/attach/livesupport-dev/419DBDD4.9050005@tyrell.hu/transparent_window.jpg

    --------------040909060600070808010909--

    ------------------------------------------
    Posted to Phorum via PhorumMail