Phillip Wu schrieb:
> Hi,
> I have created my own class:
> class tag: public Fl_Widget {
> private:
>char text[80];
>Fl_Color tcolor;
>int tfont;
>int tfontsize;
>int posx;
>int posy;
>
>void draw(){
> printf("tag draw of %s\n",text); // trace
> fl_color(tcolor
Hi,
I have created my own class:
class tag: public Fl_Widget {
private:
char text[80];
Fl_Color tcolor;
int tfont;
int tfontsize;
int posx;
int posy;
void draw(){
printf("tag draw of %s\n",text); // trace
fl_color(tcolor);
fl_font(tfont,tfontsize);
fl_draw(text,posx,p
> Mike wrote
> >
> > I've run into a problem trying to build Version 1.3.0rc3 using MVC++ 6.0 in
> > Windows XP SP3 (32 bit). Looks like all the .cxx files are compiling o.k.
> > except for FL_Text_Display, where I get 12 errors like the one below.
> >
> > C:\Program Files\fltk-1.3.0rc3\src\Fl_Te
> Matthias wrote:
> On 23.02.2011, at 21:22, corvid wrote:
>
> > I wrote:
> >> If the widget flag enum says:
> >>
> >>INVISIBLE = 1<<1, ///< the widget is not drawn but can
> >> receive events
> >>
> >> then why is visibility required in:
> >>
> >> unsigned int takesevents() c
Mike wrote
>
> I've run into a problem trying to build Version 1.3.0rc3 using MVC++ 6.0 in
> Windows XP SP3 (32 bit). Looks like all the .cxx files are compiling o.k.
> except for FL_Text_Display, where I get 12 errors like the one below.
>
> C:\Program Files\fltk-1.3.0rc3\src\Fl_Text_Display.cxx
I've run into a problem trying to build Version 1.3.0rc3 using MVC++ 6.0 in
Windows XP SP3 (32 bit). Looks like all the .cxx files are compiling o.k.
except for FL_Text_Display, where I get 12 errors like the one below.
C:\Program Files\fltk-1.3.0rc3\src\Fl_Text_Display.cxx(1941) : error C2446:
On 24.02.2011, at 13:12, leowang wrote:
> Dear All,
> I have a class A which inherit from Window class, I override it's draw
> function. And did nothing in this function.
>
> Void A::draw()
> {
> return;
> }
>
> But I found that when I call show() or redraw() function, it can call draw
>
Dear All,
I have a class A which inherit from Window class, I override it's draw
function. And did nothing in this function.
Void A::draw()
{
return;
}
But I found that when I call show() or redraw() function, it can call draw
function and refresh the window to black. Why? I think it shoul
8 matches
Mail list logo