Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:common:Factory
fltk-flu
FLU_Flu_Tree_Browser_h.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File FLU_Flu_Tree_Browser_h.patch of Package fltk-flu
Index: FLU/Flu_Tree_Browser.h =================================================================== --- FLU/Flu_Tree_Browser.h.orig +++ FLU/Flu_Tree_Browser.h @@ -215,8 +215,8 @@ class FLU_EXPORT Flu_Tree_Browser : publ { return _box->color(); } //! Set the background color of the browser. Default is FL_WHITE - inline void color( Fl_Color c ) - { _box->color( c ); } +// inline void color( Fl_Color c ) + // { _box->color( c ); } //! Set the background color of the browser. Default is FL_WHITE inline void color( unsigned c ) @@ -346,7 +346,7 @@ class FLU_EXPORT Flu_Tree_Browser : publ { return rdata.insertionMode; } //! \return whether the point \c (x,y) is inside the entry area (not on the scrollbars) - bool Flu_Tree_Browser :: inside_entry_area( int x, int y ); + bool inside_entry_area( int x, int y ); //! Set the title of the Tree (also the label for the root entry) inline void label( const char *l ) @@ -436,23 +436,23 @@ class FLU_EXPORT Flu_Tree_Browser : publ //! Remove the entry identified by path \b fullpath from the tree /*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */ - unsigned int remove( const char *fullpath ); + unsigned long remove( const char *fullpath ); //! Remove entry \b name in path \b path from the tree /*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */ - unsigned int remove( const char *path, const char *name ); + unsigned long remove( const char *path, const char *name ); //! Remove the entry identified by unique id \b id from the tree /*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */ - unsigned int remove( unsigned int id ); + unsigned long remove( unsigned int id ); //! Remove the entry containing the widget \b w from the tree. Note that the widget is automatically destroyed /*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */ - unsigned int remove( Fl_Widget *w ); + unsigned long remove( Fl_Widget *w ); //! Remove Node \b n from the tree /*! \return the id of \b n on successful removal, or \c 0 if \b n is not in the tree */ - inline unsigned int remove( Node* n ) + inline unsigned long remove( Node* n ) { if( !n ) return 0; else return remove( n->id() ); } //! Override of Fl_Widget::resize @@ -491,8 +491,8 @@ class FLU_EXPORT Flu_Tree_Browser : publ { return rdata.defSelectionColor; } //! Set the color to use when hilighting selected entries. Default is FL_SELECTION_COLOR - inline void selection_color( Fl_Color c ) - { rdata.defSelectionColor = c; } + //inline void selection_color( Fl_Color c ) + // { rdata.defSelectionColor = c; } //! Set the color to use when hilighting selected entries. Default is FL_SELECTION_COLOR inline void selection_color( unsigned c ) @@ -1077,8 +1077,8 @@ class FLU_EXPORT Flu_Tree_Browser : publ //! Remove the entry identified by path \b fullpath from this node /*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */ - inline unsigned int remove( const char *fullpath ) - { return( (unsigned int)modify( fullpath, REMOVE, tree->rdata ) ); } + inline unsigned long remove( const char *fullpath ) + { return( (unsigned long )modify( fullpath, REMOVE, tree->rdata ) ); } //! Remove the entry identified by unique id \b id from this node /*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor