How do I specify the x/y relative to the parent? And starting with 0,0 relative to myself will be done in the Draw_line function?
V/R, Bryan > -----Original Message----- > From: Denis Oliver Kropp [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2008 1:28 PM > To: Bryan Bui-Tuong > Cc: [email protected] > Subject: Re: [directfb-users] LiTE: Creating a new widget > > Bryan Bui-Tuong wrote: > > Hi I'm just trying to create a new widget, drawing a basic line but > have > > been unsuccessful. I was able to get everything to compile, but when > I > > create the new object, nothing happens. Any ideas as to why? I have > > attached the source to this e-mail. > > You first specify with x/y relatively to the parent box where to place > the new > child box. But when the child box draws itself, you'll start with 0,0 > relatively > to your self :) > > -- > Best regards, > Denis Oliver Kropp > > .------------------------------------------. > | DirectFB - Hardware accelerated graphics | > | http://www.directfb.org/ | > "------------------------------------------" _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
