 th=D_CALLOC(1,sizeof(LiteWindowTheme));

        t=LITE_THEME(th);

        t->bg_color.r=200;
        t->bg_color.g=200;
        t->bg_color.b=200;
        t->bg_color.a=0xff;

        //t->fg_color.r=100;
        //t->fg_color.g=200;
        //t->fg_color.b=100;
        //t->fg_color.a=0xff;

        res=lite_get_font_from_file("/usr/local/share/fonts/truetype/verabi.ttf",16,DFFA_NONE,&th->title_font);

        //res = lite_get_font(DEFAULT_WINDOW_TITLE_FONT, LITE_FONT_PLAIN,16,DEFAULT_FONT_ATTRIBUTE, &th->title_font);   


        printf("result for get font %d",res);


        th->title_x_offset = LITE_CENTER_HORIZONTALLY;
        th->title_y_offset = 0;
        th->title_color.r = 255;
        th->title_color.g = 0;
        th->title_color.b = 0;
        th->title_color.a = 0;

        printf("%d\n",th->frame.top.width);
         printf("%d\n",th->frame.top.height);

        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);
        rect.x=0;
        rect.y=20;
        rect.w=240;
        rect.h=300;
        printf("creating window\n");
        res=lite_new_window(NULL,&rect,DWCAPS_ALPHACHANNEL,th,"upgrading firmware",&window);

