mirror of
https://github.com/fltk/fltk.git
synced 2026-06-02 07:26:57 +08:00
Fl_Tabs::value() is now const as described in the documentation (STR #1379)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
CHANGES IN FLTK 1.1.8
|
CHANGES IN FLTK 1.1.8
|
||||||
|
|
||||||
|
- Fl_Tabs::value() is now "const" as described in the
|
||||||
|
documentation (STR #1379)
|
||||||
- FLUID now only writes definitions of "o" and "w"
|
- FLUID now only writes definitions of "o" and "w"
|
||||||
variables as needed, reducing the number of "variable
|
variables as needed, reducing the number of "variable
|
||||||
is shadowed" warnings from GCC.
|
is shadowed" warnings from GCC.
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ protected:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
int handle(int);
|
int handle(int);
|
||||||
Fl_Widget *value();
|
Fl_Widget *value() const;
|
||||||
int value(Fl_Widget *);
|
int value(Fl_Widget *);
|
||||||
Fl_Widget *push() const {return push_;}
|
Fl_Widget *push() const {return push_;}
|
||||||
int push(Fl_Widget *);
|
int push(Fl_Widget *);
|
||||||
|
|||||||
+1
-1
@@ -231,7 +231,7 @@ int Fl_Tabs::push(Fl_Widget *o) {
|
|||||||
// are visible) and this also hides any other children.
|
// are visible) and this also hides any other children.
|
||||||
// This allows the tabs to be deleted, moved to other groups, and
|
// This allows the tabs to be deleted, moved to other groups, and
|
||||||
// show()/hide() called without it screwing up.
|
// show()/hide() called without it screwing up.
|
||||||
Fl_Widget* Fl_Tabs::value() {
|
Fl_Widget* Fl_Tabs::value() const {
|
||||||
Fl_Widget* v = 0;
|
Fl_Widget* v = 0;
|
||||||
Fl_Widget*const* a = array();
|
Fl_Widget*const* a = array();
|
||||||
for (int i=children(); i--;) {
|
for (int i=children(); i--;) {
|
||||||
|
|||||||
Reference in New Issue
Block a user