mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
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:
@@ -25,7 +25,7 @@
|
|||||||
// http://www.fltk.org/str.php
|
// 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
|
#ifndef Fl_File_Chooser_H
|
||||||
#define Fl_File_Chooser_H
|
#define Fl_File_Chooser_H
|
||||||
@@ -175,6 +175,11 @@ public:
|
|||||||
static const char *save_label;
|
static const char *save_label;
|
||||||
static const char *show_label;
|
static const char *show_label;
|
||||||
static Fl_File_Sort_F *sort;
|
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_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);
|
FL_EXPORT char *fl_file_chooser(const char *message,const char *pat,const char *fname,int relative=0);
|
||||||
|
|||||||
@@ -393,19 +393,19 @@ Fl_Color Fl_File_Chooser::textcolor() {
|
|||||||
return (fileList->textcolor());
|
return (fileList->textcolor());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Fl_File_Chooser::textfont(uchar f) {
|
void Fl_File_Chooser::textfont(Fl_Font f) {
|
||||||
fileList->textfont(f);
|
fileList->textfont(f);
|
||||||
}
|
}
|
||||||
|
|
||||||
uchar Fl_File_Chooser::textfont() {
|
Fl_Font Fl_File_Chooser::textfont() {
|
||||||
return (fileList->textfont());
|
return (fileList->textfont());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Fl_File_Chooser::textsize(uchar s) {
|
void Fl_File_Chooser::textsize(Fl_Font_Size s) {
|
||||||
fileList->textsize(s);
|
fileList->textsize(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
uchar Fl_File_Chooser::textsize() {
|
Fl_Font_Size Fl_File_Chooser::textsize() {
|
||||||
return (fileList->textsize());
|
return (fileList->textsize());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ comment {//
|
|||||||
//
|
//
|
||||||
// http://www.fltk.org/str.php
|
// http://www.fltk.org/str.php
|
||||||
//
|
//
|
||||||
} {selected in_source in_header
|
} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/fl_draw.H>} {}
|
decl {\#include <FL/fl_draw.H>} {}
|
||||||
@@ -327,19 +327,19 @@ fileName->take_focus();} {}
|
|||||||
} {
|
} {
|
||||||
code {return (fileList->textcolor());} {}
|
code {return (fileList->textcolor());} {}
|
||||||
}
|
}
|
||||||
Function {textfont(uchar f)} {return_type void
|
Function {textfont(Fl_Font f)} {return_type void
|
||||||
} {
|
} {
|
||||||
code {fileList->textfont(f);} {}
|
code {fileList->textfont(f);} {}
|
||||||
}
|
}
|
||||||
Function {textfont()} {return_type uchar
|
Function {textfont()} {selected return_type Fl_Font
|
||||||
} {
|
} {
|
||||||
code {return (fileList->textfont());} {}
|
code {return (fileList->textfont());} {}
|
||||||
}
|
}
|
||||||
Function {textsize(uchar s)} {return_type void
|
Function {textsize(Fl_Font_Size s)} {return_type void
|
||||||
} {
|
} {
|
||||||
code {fileList->textsize(s);} {}
|
code {fileList->textsize(s);} {}
|
||||||
}
|
}
|
||||||
Function {textsize()} {return_type uchar
|
Function {textsize()} {return_type Fl_Font_Size
|
||||||
} {
|
} {
|
||||||
code {return (fileList->textsize());} {}
|
code {return (fileList->textsize());} {}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user