On Mar 25, 2007, at 12:26 PM, Mathieu Peyréga wrote:
> adding
>
> damage(FL_DAMAGE_ALL);
>
> before Fl_Scroll::draw()
>
> solves my issue...
Oh, yes, I understand now. You want the background to scroll, but
your graphics stand still in relation to the window. This can only be
achieved b
adding
damage(FL_DAMAGE_ALL);
before Fl_Scroll::draw()
solves my issue...
thank you for your help !!!
___
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk
Here's "my" code...
#include
#include
#include
#include
#include
#include
#include
static Fl_Double_Window *main_win=(Fl_Double_Window *)0;
static Fl_Box *a_map=(Fl_Box *)0;
static Fl_Button *exit_bt=(Fl_Button *)0;
static Fl_Button *clear_bt=(Fl_Button *)0;
static Fl_JPEG_Image *map_backg
oups... sorry i misunderstood the effect of the clear button... which
seems to be a clue to the behaviour i want...
The issue is that my background is a bitmap and not an uniform color
background...
___
fltk mailing list
fltk@easysw.com
http://lists.eas
Thank you for your long answer... even if it does not help much...
as the jagg effect still exists when using the scrollbars... as it does
in my code.
i'll try to explain in more detail what i want to do.
I want to create a "geographic map" widget that allows to show a bitmap
map in background.
5 matches
Mail list logo