The problem was solved by adding the preprocessor definition
WINVER=0x0601
for both FLTK dll and the application itself...
> No idea - never even seen a Win7 multitouch system... (Though I'm aware
> that they exist!)
>
> So... What events, if any, are delivered when you do the zoom gesture?
>
>
Hello,
i'm developping an application that runs on a Windows 7 platform with touch
screen handling multi-touch.
I implmented the zoom (on a map view) with the MOUSEWHEEL event.
Scrolling the map is handled correctly in touchscreen mode, however, the zoom
is not working...
Any clues ?
Best reg
Hello,
I experienced crash with a program that calls Fl_Double_Window::flush() too
soon so that the myi pointer is NULL.
I added a global null test in the methode to prevent this case... I think this
should be added to trunk (1.3)
Regards
/**
Forces the window to be redrawn.
\param[in] er
FLTK 1.3 svn up to date version...
I changed Fl_Choice.cxx handle method :
case FL_PUSH:
if (Fl::visible_focus()) Fl::focus(this);
J1:
if (Fl::scheme()
|| fl_contrast(textcolor(), FL_BACKGROUND2_COLOR) != textcolor()) {
//v = menu()->pulldown(x(), y(), w(), h(), mval
Hello,
I'm using a Fl_Choice widget which is located at the very bottom of a
fullscreen window.
The issue is that when the list is showing up, it is shown "downward" and thus
not in the window which makes it practically unusable. Is there a way to change
this behaviour ?
I guess I have to go
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.
> If nothing helps, maybe you can boil some code down to a single page and
> post it here.
here it is...
void C_MapView::draw(void)
{
Fl_Scroll::draw();
if (m_ShowCompass)
{
fl_color(FL_DARK_GREEN);
fl_line_style(FL_SOLID, 3);
fl_push_matrix();
i would recommand boost serialisation library...
www.boost.org
matthiasm a écrit :
>
> On Mar 23, 2007, at 9:26 PM, gga wrote:
>
>> I was wondering if anyone had developed a portable library to allow
>> marshalling of fltk widgets. Or if someone could recommend a good way
>> to do it under fl
Hello,
I have a MyWidget class wich is a subclass of Fl_Scroll in which i
overloaded the draw() method.
almost everything works fine... except that the drawing done through
fl_begin_line() ... are not redrawn correctly when I use the scrollbars...
The former drawing is not erased and overlap wit
12 matches
Mail list logo