I have a sample code that crashes when the icon is loaded.
The icon is a multicolored icon of 32x32.
#include
#include
#include
#include
#include "../icons/viewer.xpm"
int main( int argc, char** argv )
{
fltk::Window window( 120, 220 );
fltk::open_display(); // needed if display has
>
> window must be shown before setting the icon.
> Jacques Senecal.
>
>
Thanks, that prevents the crash but the icon is not shown in the window.
I have this now:
#include
#include
#include
#include
#include "../icons/viewer.xpm"
#include
int main( int argc, char** argv )
{
fltk::Win
> Gonzalo Garramuno schrieb:
> >>
> >> window must be shown before setting the icon.
> >
> > Thanks, that prevents the crash but the icon is not shown in the window.
>
> Yes, to show the icon, it must be set, before the window is shown.
>
> Maybe this
I have a request for customizable shortcuts and mouse control in my program and
I am a little lost on how to implement this in fltk.
Does anyone have any example?
___
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk
>
> > I have a request for customizable shortcuts and mouse control in my
> > program and I am a little lost on how to implement this in fltk.
> > Does anyone have any example?
>
> Can you expand on this a bit? What is actually wanted?
>
> I guess I "know" what customizable shortcuts means - it mea
I was wondering how different FLTK2 and FLTK3 are. I have an application coded
with FLTK2, but would like to port it to FLTK3, since that's receiving more
attention, it seems.
___
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listi
I was wondering how to use gettext with fluid.
___
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk
> On 08/10/12 06:52, Gonzalo Garramuno wrote:
> > I was wondering how to use gettext with fluid.
>
> There's a bit about this in the fluid docs:
> http://www.fltk.org/doc-1.3/fluid.html#fluid_i18n
>
> ..there's a section on "Using GNU gette
I'm trying to compile fltk3 but it fails with:
Compiling fltk3png/png.c...
fltk3png/png.c:14:21: fatal error: pngpriv.h: No such file or directory
The file is in include/fltk3png, but the makefile does not refer to it.
I also tried compiling with cmake but the errors were worse.
I was wondering if someone had code to draw lines in opengl with mitter or
round edges. That is, using a polygon to draw the lines.
I found some code online but it is broken.
fltk has some really nice drawing routines, but I think I cannot overlap them
onto an opengl image, right?
__
Thanks for the long help, Erco. I just hacked fluid2 to spit code always as
gettext.
___
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk
On my Linux box (Kubuntu), doing a fullscreen and turning it off does not
create the window's decorations back again. The problem is not there on Win32
or Win64. The problem appears in all versions of fltk (although I am
interested in fltk2).
It seems FLTK is not playing nicely with the window
>
> On 8 Sep 2012, at 16:51, Greg Ercolano wrote:
> >=20
> >Tried on ubuntu 10.04 + Gnome, works OK too.
> >=20
> >I think we need linux distro release numbers + window manager names
> >to track this.
>
> Well, in case anyone is keeping score: Ubuntu 12.04 + unity works fine =
> too wit
> On 09/13/12 14:46, Gonzalo Garramuno wrote:
>
> > Windows is fine. I run Ubuntu with KDE and that shows the problem.
>
> Fedora 3 + KDE works OK.
>
> Gonzalo, what /version/ of Ubuntu?
Oneric Ocelot (11.10).
__
> > On 09/13/12 14:46, Gonzalo Garramuno wrote:
> >
> > > Windows is fine. I run Ubuntu with KDE and that shows the problem.
> >
> > Fedora 3 + KDE works OK.
> >
> > Gonzalo, what /version/ of Ubuntu?
>
> Oneric Ocelot (1
I am having a problem with drag and drop filenames in fltk2. Basically, it
seems the strings I get are utf8 as they contain Spanish accents (and they show
fine in any fltk window like fltk::alert).
However, when I pass the string to fopen(), it fails to open the file.
I'm wondering what is the r
>
> I presume you are using the MSWindows platform.
I'm dealing with in Windows and Linux. I am using the boost::filesystem to
check the existence of paths and in that it also fails so fltk_open only solves
the issue partially.
___
fltk mailing list
fl
I was wondering if some file requester in fltk allows access to the network
files on a windows network that does not map the dirs to a path.
Instead, the paths are like //machine//drive//dir,
I need a custom file requester, not the native platform requester, btw.
__
> On 10/21/12 09:33, Greg Ercolano wrote:
>
> So I can handle reading only so much about Win32 before I get ill,
> so I'm gonna have to stop there before I barf.
>
Thanks, Greg. But the hooks in windows are not enough. I need to show frame
sequences as file..exr and allow select
Subject says it all. Is it time to upgrade to fltk3?
___
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk
I am working on windows and fltk2.0's filename_list returns 0 elements when the
directory is unicode like:
C:/Users/gga/Documents/Mis vâ¡deos/
I checked the fltk code and the scandir of windows it seems it should work
fine, but it doesn't.
___
fltk
>
>
> Probably worth checking fltk-1.3; it was developed much later than fltk2 =
> and has seen more testing, and it is believed (hoped?) that the Unicode =
> support is more complete!
>
I checked both 1.3 and 3.0 and they are both broken in similar ways. The
conversion function to wide strings
> On 11/03/12 18:26, Gonzalo Garramuno wrote:
> > I am working on windows and fltk2.0's filename_list returns 0 elements
> > when the directory is unicode like:
> >
> > C:/Users/gga/Documents/Mis vâ¡deos/
> >
> > I checked the fltk code and th
I would like my application to have only one instance of it running at a time.
However I am unsure how to implement this.
If the user opens another instance the contents of what it opened should go to
the already opened instance.
As an example, I would put emacs.
How would I go about coding thi
Maximizing a window, then minimizing it to an icon in the taskbar, and then
opening that same icon creates a window that covers up to the taskbar, but it
is behind it. The problem shows in all demos of fltk2.0. Fltk1.2 seems fine.
Can somebody help?
_
> Maximizing a window, then minimizing it to an icon in the taskbar, and then
> opening that same icon creates a window that covers up to the taskbar, but it
> is behind it. The problem shows in all demos of fltk2.0. Fltk1.2 seems fine.
> Can somebody help?
This is in Windows. Linux works fin
>
> > Maximizing a window, then minimizing it to an icon in the taskbar, and
> > then opening that same icon creates a window that covers up to the
> > taskbar, but it is behind it. The problem shows in all demos of
> > fltk2.0. Fltk1.2 seems fine.
> > Can somebody help?
>
> Gonzalo,
>
> Do you *
I am trying to port my software from flkt2 to fltk1.3. However fluid1.3
complains due to lacking namespaces. Any chance of adding namespaces to
fluid1.3 or a work-around?
___
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/
The 2.0.x branch is missing from the download area and the trunk does not
compile out of the box.
___
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk
> fltk-2 is, as you know, deprecated, and no one is available to maintain nor=
> fix it, so we can't really go on distributing it, until it gets fixed...
>
>
Sure you can distribute it. It is there in the main page, what version to
download.
___
flt
I was wondering if anyone had implemented a fltk class to render menus
in a radial (pie-like) fashion?
--
Gonzalo Garramuño
Film Aura
A New Dawn in Media Companies
[EMAIL PROTECTED]
http://www.filmaura.com
___
fltk mailing list
fltk@easysw.com
htt
31 matches
Mail list logo