Re: [fltk.development] fluid - Adding win32 icon

2013-04-17 Thread David FLEURY
Le 16/04/2013 10:45, MacArthur, Ian (Selex ES, UK) a écrit : > >>> I think the best thing would be to create an STR and post the icon >> and your patches there, for folk to take a look at. >>> >> >> Ok, I will do it so (at least I will try) > > It's not so hard; you'll be fine! Done > > Possible,

Re: [fltk.development] fluid - Adding win32 icon

2013-04-16 Thread Ian MacArthur
On 16 Apr 2013, at 19:03, Greg Ercolano wrote: > > So I imagine most folks would be managing the resource files by hand > now, I honestly don't know: I've been using the mingw tools in preference to the MS tools for so long now, that I'm not sure what would be deemed "normal" any more! I

Re: [fltk.development] fluid - Adding win32 icon

2013-04-16 Thread Greg Ercolano
>> 101 ICONDISCARDABLE "sudoku.ico" >> |_ >>| >> icon((char *)LoadIcon(fl_display, MAKEINTRESOURCE(101))); > > Though I'm uneasy about just assuming the value is 101 > - in principle we co

Re: [fltk.development] fluid - Adding win32 icon

2013-04-16 Thread MacArthur, Ian (Selex ES, UK)
> > I think the best thing would be to create an STR and post the icon > and your patches there, for folk to take a look at. > > > > Ok, I will do it so (at least I will try) It's not so hard; you'll be fine! > > The icon file is 32k bytes now? > > That seems OK, maybe a bit larger than I'd ha

Re: [fltk.development] fluid - Adding win32 icon

2013-04-16 Thread MacArthur, Ian (Selex ES, UK)
> FWIW, and as a separate issue, I *think* the .rc file can be a > simple > one liner. (I'm all about simplicity and understanding everything > in > the files I build) > > For instance, with sudoku, it seems I can change the sudoku.rc > file to just contain: > > 101

Re: [fltk.development] fluid - Adding win32 icon

2013-04-15 Thread David FLEURY
Le 15/04/2013 23:04, Ian MacArthur a écrit : > > On 15 Apr 2013, at 21:28, David FLEURY wrote: > >> Le 15/04/2013 21:57, Ian MacArthur a écrit : >>> Is there an STR for this somewhere? I can't find it... so I can't find the >>> patch. >> >> I am not used to create a STR. I did not create one. > >

Re: [fltk.development] fluid - Adding win32 icon

2013-04-15 Thread Greg Ercolano
On 04/15/13 14:28, Ian MacArthur wrote: > > On 15 Apr 2013, at 22:13, Greg Ercolano wrote: > >> On 04/15/13 13:28, David FLEURY wrote: >>> Le 15/04/2013 21:57, Ian MacArthur a écrit : Is there an STR for this somewhere? I can't find it... so I can't find the patch. >>> >>> I am not use

Re: [fltk.development] fluid - Adding win32 icon

2013-04-15 Thread Ian MacArthur
On 15 Apr 2013, at 22:13, Greg Ercolano wrote: > On 04/15/13 13:28, David FLEURY wrote: >> Le 15/04/2013 21:57, Ian MacArthur a écrit : >>> Is there an STR for this somewhere? I can't find it... so I can't find the >>> patch. >> >> I am not used to create a STR. I did not create one. > >

Re: [fltk.development] fluid - Adding win32 icon

2013-04-15 Thread Greg Ercolano
On 04/15/13 13:28, David FLEURY wrote: > Le 15/04/2013 21:57, Ian MacArthur a écrit : >> Is there an STR for this somewhere? I can't find it... so I can't find the >> patch. > > I am not used to create a STR. I did not create one. Ian; he included the patch here on fltk.dev at the head o

Re: [fltk.development] fluid - Adding win32 icon

2013-04-15 Thread Ian MacArthur
On 15 Apr 2013, at 21:28, David FLEURY wrote: > Le 15/04/2013 21:57, Ian MacArthur a écrit : >> Is there an STR for this somewhere? I can't find it... so I can't find the >> patch. > > I am not used to create a STR. I did not create one. Ah. That's gong to make it very hard for us to view and

Re: [fltk.development] fluid - Adding win32 icon

2013-04-15 Thread David FLEURY
Le 15/04/2013 21:57, Ian MacArthur a écrit : > Is there an STR for this somewhere? I can't find it... so I can't find the > patch. I am not used to create a STR. I did not create one. > > Anyway: what sizes are in the icon file now? 32k I have added a 64*64 and a 48*48 icons > We need to be s

Re: [fltk.development] fluid - Adding win32 icon

2013-04-15 Thread Ian MacArthur
On 15 Apr 2013, at 17:53, David FLEURY wrote: > Le 25/03/2013 22:07, David FLEURY a écrit : >> I found an easy tool (VarilconsRevolve) >> >> Here a new patch. >> I remove all unnecessary lines from the rc file and fluid_resource.h >> I just remove cygwin (I have no cygwin installed, I can't not

Re: [fltk.development] fluid - Adding win32 icon

2013-04-15 Thread David FLEURY
Le 15/04/2013 19:52, Greg Ercolano a écrit : > If I understand this correctly, making a win32 icon for the fluid app > so that the fluid.exe will appear in a file browser with an icon? Correct > > I think the most flexible way of doing this would be to link a resource > fi

Re: [fltk.development] fluid - Adding win32 icon

2013-04-15 Thread Greg Ercolano
On 04/15/13 09:53, David FLEURY wrote: > I reactivate this, just to known if I had to keep it somewhere on my > repo to patch my fltk, or something like this will be apply in the > official repo. If I understand this correctly, making a win32 icon for the fluid app so that the fl

Re: [fltk.development] fluid - Adding win32 icon

2013-04-15 Thread David FLEURY
Le 25/03/2013 22:07, David FLEURY a écrit : > I found an easy tool (VarilconsRevolve) > > Here a new patch. > I remove all unnecessary lines from the rc file and fluid_resource.h > I just remove cygwin (I have no cygwin installed, I can't not test). > > I have to 2 more icons on the fluid.ic

Re: [fltk.development] fluid - Adding win32 icon

2013-03-25 Thread David FLEURY
>> Another point, is Visual Studio 2012 project files are welcome ? >> I have migrate (by duplicating) the existing one to VS 2012. If anyone >> is interested. > > Can VS12 cope with the existing project files? If so, we'd rather distribute > (and maintain) the smallest set of project files that

Re: [fltk.development] fluid - Adding win32 icon

2013-03-25 Thread MacArthur, Ian (Selex ES, UK)
> > Clearly, yes. I have not succeed to include the png provided into th > > resource. I am on it, But don't have good resource editor. > > Is there not one built in to the VS tools? Last time I looked (which > may have been VC6!) ISTR there was... Or maybe that's false memory > syndrome? > > In

Re: [fltk.development] fluid - Adding win32 icon

2013-03-25 Thread MacArthur, Ian (Selex ES, UK)
> > - I know it is "normal" for MS stuff to call the resource file just > "resource.h", but it seems suspect to me; we should call it something > that makes it clearer what it is, even "fluid_resource.h" would be > better, IMHO. Also, there's cruft in there we do not need for the > simple case of

Re: [fltk.development] fluid - Adding win32 icon

2013-03-25 Thread David FLEURY
Le 24/03/2013 22:41, Ian MacArthur a écrit : > > On 24 Mar 2013, at 17:59, David FLEURY wrote: > >> Hi, >> I am using fluid under win32, and I miss an icon for this application. >> I have done this patch to add an icon (only vs2010) >> May be there are others win32 users of fluid >> Regards, >> Da

Re: [fltk.development] fluid - Adding win32 icon

2013-03-24 Thread Ian MacArthur
On 24 Mar 2013, at 17:59, David FLEURY wrote: > Hi, > I am using fluid under win32, and I miss an icon for this application. > I have done this patch to add an icon (only vs2010) > May be there are others win32 users of fluid > Regards, > David This is a worthy idea, but I have some concerns ab

[fltk.development] fluid - Adding win32 icon

2013-03-24 Thread David FLEURY
Hi, I am using fluid under win32, and I miss an icon for this application. I have done this patch to add an icon (only vs2010) May be there are others win32 users of fluid Regards, David Index: fluid/fluid.cxx === --- fluid/fluid.cxx