fix Fl_Font and Fl_Font_Size types in Fl_File_Chooser.fl file

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6122 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
yuri 2008-05-01 18:56:12 +00:00
parent 1488c10f7e
commit c04f2f8bff
3 changed files with 15 additions and 10 deletions

View File

@ -25,7 +25,7 @@
// http://www.fltk.org/str.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0108
// generated by Fast Light User Interface Designer (fluid) version 1.0300
#ifndef Fl_File_Chooser_H
#define Fl_File_Chooser_H
@ -175,6 +175,11 @@ public:
static const char *save_label;
static const char *show_label;
static Fl_File_Sort_F *sort;
private:
Fl_Widget* ext_group;
bool ext_managed;
public:
Fl_Widget* add_extra(Fl_Widget* gr);
};
FL_EXPORT char *fl_dir_chooser(const char *message,const char *fname,int relative=0);
FL_EXPORT char *fl_file_chooser(const char *message,const char *pat,const char *fname,int relative=0);

View File

@ -393,19 +393,19 @@ Fl_Color Fl_File_Chooser::textcolor() {
return (fileList->textcolor());
}
void Fl_File_Chooser::textfont(uchar f) {
void Fl_File_Chooser::textfont(Fl_Font f) {
fileList->textfont(f);
}
uchar Fl_File_Chooser::textfont() {
Fl_Font Fl_File_Chooser::textfont() {
return (fileList->textfont());
}
void Fl_File_Chooser::textsize(uchar s) {
void Fl_File_Chooser::textsize(Fl_Font_Size s) {
fileList->textsize(s);
}
uchar Fl_File_Chooser::textsize() {
Fl_Font_Size Fl_File_Chooser::textsize() {
return (fileList->textsize());
}

View File

@ -28,7 +28,7 @@ comment {//
//
// http://www.fltk.org/str.php
//
} {selected in_source in_header
} {in_source in_header
}
decl {\#include <FL/fl_draw.H>} {}
@ -327,19 +327,19 @@ fileName->take_focus();} {}
} {
code {return (fileList->textcolor());} {}
}
Function {textfont(uchar f)} {return_type void
Function {textfont(Fl_Font f)} {return_type void
} {
code {fileList->textfont(f);} {}
}
Function {textfont()} {return_type uchar
Function {textfont()} {selected return_type Fl_Font
} {
code {return (fileList->textfont());} {}
}
Function {textsize(uchar s)} {return_type void
Function {textsize(Fl_Font_Size s)} {return_type void
} {
code {fileList->textsize(s);} {}
}
Function {textsize()} {return_type uchar
Function {textsize()} {return_type Fl_Font_Size
} {
code {return (fileList->textsize());} {}
}