> > - 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 adding an icon, anyway. > > > > Ok I will try to fluid_resource.h filename and removing all unecessary > lines.
I note that the Sudoku demo in the test folder calls these files sudokurc.h and sudoku.rc, though they have not been "de-crufted" as I was suggesting... That naming pattern might make sense though? At least to be consistent? As far as I know (and I'm not exactly an expert here! Win32 is not my main thing...) then all you *need* to have in these files is something like... --- my-icon_hdr.h --- // Win32 icon resource header file #define IDI_ICON 101 // End of file --- my-icon.rc --- // Win32 icon resource file #include "my-icon_hdr.h" // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDI_ICON ICON DISCARDABLE "media/my-icon.ico" // End of file It seems that the rest of the stuff that is in there is not really necessary. I think... > > - If we are going to do this, then the provided icon in the > fluid/icons/fluid.ico folder needs to be improved; it does not have > enough of the bigger sizes for the modern systems, so looks a bit duff > most of the time. > > > > 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 any case, the web seems to have plenty of tools for editing Win32 ico files, so you'll easily find something that works. > 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 actually work, so if VS12 can handle the existing project files correctly, then that is better for us. That said, if you have working VS12 files, then maybe you can post them on an STR so that others can find them... You never know, someone might find them useful in the future. Selex ES Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
