I tried to do something similar to that of the wiki code snippet and got nothing. Is there something I am missing here?
Function { static IDirectFBSurface *batt = NULL; static LiteBox *batt_stat = NULL; static DFBRectangle batt_rect[2]; batt_rect[0].x = 188; batt_rect[0].y = 7; batt_rect[0].w = 47; batt_rect[0].h = 14; batt_rect[1].x = 235; batt_rect[1].y = 9; batt_rect[1].w = 3; batt_rect[1].h = 10; lite_new_box( &batt_stat, LITE_BOX(window), 188, 7, 50, 14 ); lite_init_box( batt_stat ); batt = batt_stat->surface; batt->SetColor( batt, green.r, green.g, green.b, green.a ); //green batt->FillRectangles( batt, batt_rect, 2 ); batt->Flip( batt, NULL, 0 ); } _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users