Hi,
I just discovered that if you set an Fl_Output box style to NO_BOX, when
you change the text it just places it over the old text without erasing
the old first. This is with a fresh svn update of fltk 1.3 I can set
it to FLAT_BOX and it works fine.
Is this behaviour known and normal?
Mos
On 09/20/12 13:26, Herman wrote:
> Hmm, I usually use
>
> Fl_JPEG_Image* o=new Fl_JPEG_Image(file);
> if (o && o->w() && o->h())
> {/*loaded successfully*/}
> else {/*some error occured*/}
>
> It never failed so far on all the platforms I tested (Win/Linux/Mac).
>
> So I don't really see why to
On 09/20/12 05:10, Roman Kantor wrote:
> On 20/09/2012 11:27, MacArthur, Ian (SELEX GALILEO, UK) wrote:
>>
>> Could do - though I'm a big fan of just calling access() on the path
>> before I try to use it - that pretty quickly filters out any mistakes...!
>> [..]
>
> Yeah, I use access too - act
Hmm, I usually use
Fl_JPEG_Image* o=new Fl_JPEG_Image(file);
if (o && o->w() && o->h())
{/*loaded successfully*/}
else {/*some error occured*/}
It never failed so far on all the platforms I tested (Win/Linux/Mac).
So I don't really see why to add anything to the library, since it works
just fin
> > ..access()..
>
> Ian: as an aside: beware of access() on windows (or well, _access())
>
> Although I think you prefer cygwin to VS, VS has had a long standing
> bug with _access() write-testing of files and directories. See:
> https://groups.google.com/forum/?fromgrou
On 09/20/12 03:27, MacArthur, Ian (SELEX GALILEO, UK) wrote:
Fl_BMP_Image jpg("C:/Users/Marick/My Pictures/image.bmp");
>> I wonder if we could make error checking more obvious for the default
>> behavior in FLTK for this type of thing.
>>
>> I can think of three possible ways
On 20/09/2012 11:27, MacArthur, Ian (SELEX GALILEO, UK) wrote:
>> On 09/19/12 10:00, Doug Parks wrote:
Fl_BMP_Image jpg("C:/Users/Marick/My Pictures/image.bmp");
>>> After looking at my code again for the 1000th time I just realized I was
>> using an invalid file path. There is no "My
> On 09/19/12 10:00, Doug Parks wrote:
> >> Fl_BMP_Image jpg("C:/Users/Marick/My Pictures/image.bmp");
> >>
> > After looking at my code again for the 1000th time I just realized I was
> using an invalid file path. There is no "My Pictures" only a "Pictures"
> folder.
> I wonder if we co
8 matches
Mail list logo