[fltk.general] FLTK X11 icon

2012-05-21 Thread Gonzalo Garramuno
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

Re: [fltk.general] FLTK X11 icon

2012-05-30 Thread Gonzalo Garramuno
> > 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

Re: [fltk.general] FLTK X11 icon

2012-06-17 Thread Gonzalo Garramuno
> 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

[fltk.general] Customizable shortcuts

2012-07-19 Thread Gonzalo Garramuno
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

Re: [fltk.general] Customizable shortcuts

2012-07-20 Thread Gonzalo Garramuno
> > > 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

[fltk.general] FLTK2 to FLTK3

2012-08-01 Thread Gonzalo Garramuno
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

[fltk.general] libintl and fluid

2012-08-10 Thread Gonzalo Garramuno
I was wondering how to use gettext with fluid. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] libintl and fluid

2012-08-13 Thread Gonzalo Garramuno
> 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

[fltk.general] Compiling fltk3

2012-08-13 Thread Gonzalo Garramuno
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.

[fltk.general] Miter/Round Lines in OpenGL

2012-08-24 Thread Gonzalo Garramuno
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? __

Re: [fltk.general] libintl and fluid

2012-08-24 Thread Gonzalo Garramuno
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

[fltk.general] X11 Decorations after fullscreen

2012-09-05 Thread Gonzalo Garramuno
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

Re: [fltk.general] X11 Decorations after fullscreen

2012-09-13 Thread Gonzalo Garramuno
> > 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

Re: [fltk.general] X11 Decorations after fullscreen

2012-09-16 Thread Gonzalo Garramuno
> 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). __

Re: [fltk.general] X11 Decorations after fullscreen

2012-09-16 Thread Gonzalo Garramuno
> > 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

[fltk.general] UTF8 filenames

2012-10-18 Thread Gonzalo Garramuno
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

Re: [fltk.general] UTF8 filenames

2012-10-19 Thread Gonzalo Garramuno
> > 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

[fltk.general] Unmapped Windows Network access

2012-10-20 Thread Gonzalo Garramuno
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. __

Re: [fltk.general] Unmapped Windows Network access

2012-10-22 Thread Gonzalo Garramuno
> 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

[fltk.general] fltk2.0 is missing from download page

2012-11-03 Thread Gonzalo Garramuno
Subject says it all. Is it time to upgrade to fltk3? ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

[fltk.general] fltk2.0's filename_list not working with utf8

2012-11-03 Thread Gonzalo Garramuno
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

Re: [fltk.general] fltk2.0's filename_list not working with utf8

2012-11-04 Thread Gonzalo Garramuno
> > > 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

Re: [fltk.general] fltk2.0's filename_list not working with utf8

2012-11-07 Thread Gonzalo Garramuno
> 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

[fltk.general] OT: Making application run once

2013-02-16 Thread Gonzalo Garramuno
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

[fltk.general] maximize, minimize to taskbar and open again

2013-03-20 Thread Gonzalo Garramuno
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? _

Re: [fltk.general] maximize, minimize to taskbar and open again

2013-03-20 Thread Gonzalo Garramuno
> 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

Re: [fltk.general] maximize, minimize to taskbar and open again

2013-03-20 Thread Gonzalo Garramuno
> > > 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 *

[fltk.general] fltk1.3 namespace in fluid

2013-03-20 Thread Gonzalo Garramuno
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/

[fltk.general] fltk2.0.x-alpha-r9296 missing

2013-03-24 Thread Gonzalo Garramuno
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

Re: [fltk.general] fltk2.0.x-alpha-r9296 missing

2013-03-26 Thread Gonzalo Garramuno
> 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

[fltk.general] Radial menus?

2007-11-22 Thread Gonzalo Garramuno
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