mirror of
https://github.com/fltk/fltk.git
synced 2026-08-17 16:43:10 +08:00
This update consists of three parts: 1. update icons/fluid.ico to the one provided by STR 2952 2. Windows: add resource file fluid/fluid.rc using 'fluid.ico' 3. Cross-platform: add icon using 'icons/fluid-128.png' to fluid executable Note: file 'fluid/fluid_icon.cxx' is generated by fluid using fluid_icon.fl.
18 lines
542 B
C
18 lines
542 B
C
// Assign an appropriate fluid icon at runtime.
|
|
|
|
// generated by Fast Light User Interface Designer (fluid) version 1.0500
|
|
|
|
#ifndef fluid_icon_h
|
|
#define fluid_icon_h
|
|
#include <FL/Fl.H>
|
|
// This uses window->icon() and is platform independent.
|
|
|
|
// Run fluid while your working directory is the main fluid folder.
|
|
// Select item 'fluid_icon_data', choose one of the *PNG* files
|
|
// in the 'icons/' folder and 'write code'.
|
|
// Then rebuild fluid.
|
|
#include <FL/Fl_Window.H>
|
|
#include <FL/Fl_PNG_Image.H>
|
|
void make_fluid_icon(Fl_Window *win);
|
|
#endif
|