diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-02-15 16:43:51 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-02-15 16:43:51 +0000 |
| commit | fb1b0fab0a422e9ff8807bed12ae09abb4f0d975 (patch) | |
| tree | 483bbe851b8b5f9c6134ebfd7decda1f530062d1 /fluid/factory.cxx | |
| parent | ea31edb2410308b4f610a027086c7b6f5ee72e1a (diff) | |
Added new type 'Binary Data' to Fluid. Use this to include an arbitrary file as a byte array into your source code. Changes to load jpegs etc. from program memory will follow.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/factory.cxx')
| -rw-r--r-- | fluid/factory.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fluid/factory.cxx b/fluid/factory.cxx index fae67a929..912654811 100644 --- a/fluid/factory.cxx +++ b/fluid/factory.cxx @@ -915,6 +915,7 @@ int Fl_Value_Slider_Type::textstuff(int w, Fl_Font& f, int& s, Fl_Color& c) { extern class Fl_Function_Type Fl_Function_type; extern class Fl_Code_Type Fl_Code_type; extern class Fl_CodeBlock_Type Fl_CodeBlock_type; +extern class Fl_Data_Type Fl_Data_type; extern class Fl_Decl_Type Fl_Decl_type; extern class Fl_DeclBlock_Type Fl_DeclBlock_type; extern class Fl_Comment_Type Fl_Comment_type; @@ -988,6 +989,7 @@ Fl_Menu_Item New_Menu[] = { {"Class",0,cb,(void*)&Fl_Class_type}, {"Widget Class",0,cb,(void*)&Fl_Widget_Class_type}, {"Comment",0,cb,(void*)&Fl_Comment_type}, + {"Binary Data",0,cb,(void*)&Fl_Data_type}, {0}, {"Group",0,0,0,FL_SUBMENU}, {0,0,cb,(void*)&Fl_Window_type}, |
