hi

    my question is
 i created a window theme using litewindowtheme structure
 in that i added frames to that window as follows


 res =
lite_util_load_image("usr/local/share/LiTE/oben.png",DSPF_UNKNOWN,&th->frame.top.surface,&th->frame.top.width,&th->frame.top.height,
NULL);

res=lite_util_load_image("usr/local/share/LiTE/oben.png",DSPF_UNKNOWN,&th->frame.bottom.surface,&th->frame.bottom.width,&th->frame.bottom.height,NULL);

can i draw a textbutton or any object on to the bottom surface of the window
?

if possible how can i draw on that surface

On Tue, Sep 9, 2008 at 9:35 PM, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote:

> sai koushik wrote:
>
>> hi
>>
>> i am using LiTE 0.8.9  and directFB 1.0.0  and i want to add created
>> button to the window surfaces
>>
>> i am creating themes for lite window using LiteWindow structure in that i
>> am loading images for all frame surfaces like top ,bottom ,to left etc . now
>> i want to add a button to the window bottom frame ,is it possible
>>
>> if i am doing like this
>>    LITE_BOX(text)->surface=window->surface;
>>   the button is added to the top frame of the window and the callback for
>> button is not activated
>>
>
> Using the window borders just as other Lite Boxes is not possible, yet.
>
> There will be 0.9.x taking off shortly with many (incompatible) changes.
>
>
> Short (incomplete) feature list (out of my head):
>
> LiTE
> - enhanced theming support
> - usable box(es) for window border
> - optimized updates for opaque boxes
> - layout manager support
>
> LeCK
> - animated components
> - XML based UI definitions
>
>
> Other ideas/wishes?
>
> --
> Best regards,
>  Denis Oliver Kropp
>
> .------------------------------------------.
> | DirectFB - Hardware accelerated graphics |
> | http://www.directfb.org/                 |
> "------------------------------------------"
>
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to