FLTK 1.4.5: Deprecated List

FLTK 1.4.5

Loading...
Searching...
No Matches
Deprecated List

Member Fl::release ()
  Use Fl::grab(0) instead.
Member Fl::set_idle (Fl_Old_Idle_Handler cb)
  This method is obsolete - use the add_idle() method instead.
Member Fl::version ()
  Use int Fl::api_version() instead.
Member fl_ask (const char *fmt,...)
  fl_ask() is deprecated since it uses "Yes" and "No" for the buttons which does not conform to the current FLTK Human Interface Guidelines. Use fl_choice() with the appropriate verbs instead.
Member Fl_Browser_::position () const
  "since 1.4.0 - use vposition() instead"
Member Fl_Browser_::position (int pos)
  "since 1.4.0 - use vposition(pos) instead"
Member Fl_Browser_::scrollbar_width () const

  Use scrollbar_size() instead.

Member Fl_Browser_::scrollbar_width (int width)

  Use scrollbar_size() instead.

Member fl_clip (int x, int y, int w, int h)
  Please use fl_push_clip(int x, int y, int w, int h) instead. fl_clip(int, int, int, int) will be removed in FLTK 1.5.
Member Fl_File_Input::errorcolor () const

  Will be removed in FLTK 1.5.0 or higher.

Member Fl_File_Input::errorcolor (Fl_Color c)

  Will be removed in FLTK 1.5.0 or higher.

Member fl_find (Window xid)
  Kept in the X11, Windows, and macOS platforms for compatibility with FLTK versions before 1.4. Please use fl_x11_find(Window), fl_wl_find(struct wld_window*), fl_win32_find(HWND) or fl_mac_find(FLWindow*) with FLTK 1.4.0 and above.
Member Fl_GIF_Image::Fl_GIF_Image (const char *imagename, const unsigned char *data)
  Please use Fl_GIF_Image(const char *imagename, const unsigned char *data, const size_t length) instead.
Member Fl_Group::focus (Fl_Widget *W)
  This is for backwards compatibility only. You should use W->take_focus() instead.
Member Fl_Group::sizes ()
  Deprecated since 1.4.0. Please use bounds() instead.
Member Fl_Image::draw_scaled (int X, int Y, int W, int H)
  Only for API compatibility with FLTK 1.3.4.
Member Fl_Image::label (Fl_Widget *w)
  Please use Fl_Widget::image() or Fl_Widget::deimage() instead.
Member Fl_Image::label (Fl_Menu_Item *m)
  Please use Fl_Menu_Item::image() instead.
Member Fl_Image_Surface::highres_image ()
  Use image() instead.
Member Fl_Input_::position () const
  "since 1.4.0 - use insert_position() instead"
Member Fl_Input_::position (int p, int m)
  "since 1.4.0 - use insert_position(p, m) or Fl_Widget::position(x, y) instead"
Member Fl_Input_::position (int p)
  "since 1.4.0 - use insert_position(p) instead"
Member Fl_Menu_Item::check ()
  Please use Fl_Menu_Item::set() instead. This method will be removed in FLTK 1.5.0 or later.
Member Fl_Menu_Item::checked () const
  Please use Fl_Menu_Item::value() instead. This method will be removed in FLTK 1.5.0 or later.
Member Fl_Menu_Item::uncheck ()
  Please use Fl_Menu_Item::clear() instead. This method will be removed in FLTK 1.5.0 or later.
Member Fl_Multi_Label::label (Fl_Menu_Item *)
  since 1.4.0: please use Fl_Menu_Item::label(Fl_Multi_Label *)
Member Fl_Preferences::Fl_Preferences (const char *path, const char *vendor, const char *application)
  "since 1.4.0 - use Fl_Preferences(path, vendor, application, flags) instead"
Member Fl_Text_Display::scrollbar_width () const

  Use scrollbar_size() instead.

Member Fl_Text_Display::scrollbar_width (int width)

  Use scrollbar_size() instead.

Member Fl_Text_Selection::position (int *startpos, int *endpos) const
  "since 1.4.0 - use selected(startpos, endpos) instead"
Member Fl_Tile::position (int oldx, int oldy, int newx, int newy)
  "since 1.4.0 - use move_intersection(p) instead"
Member Fl_Tree::first_visible ()
  in 1.3.3 ABI – use first_visible_item() instead.
Member Fl_Tree::item_clicked (Fl_Tree_Item *val)
  in 1.3.3 ABI – use callback_item() instead.
Member Fl_Tree::item_clicked ()
  in 1.3.3 ABI – use callback_item() instead.
Member Fl_Tree::last_visible ()
  in 1.3.3 – use last_visible_item() instead.
Member Fl_Tree_Item::Fl_Tree_Item (const Fl_Tree_Prefs &prefs)
  in 1.3.3 ABI – you must use Fl_Tree_Item(Fl_Tree*) for proper horizontal scrollbar behavior.
Member Fl_Tree_Item::next_displayed (Fl_Tree_Prefs &prefs)
  in 1.3.3 for confusing name, use next_visible() instead
Member Fl_Tree_Item::prev_displayed (Fl_Tree_Prefs &prefs)
  in 1.3.3 for confusing name, use prev_visible()
Member FL_VERSION
  This `double` version number is retained for compatibility with existing program code. New code should use int FL_API_VERSION instead. FL_VERSION is deprecated because comparisons of floating point values may fail due to rounding errors. However, there are currently no plans to remove this deprecated constant.
Member Fl_Widget::color2 () const
  Use selection_color() instead.
Member Fl_Widget::color2 (unsigned a)
  Use selection_color(unsigned) instead.
Member Fl_Window::icon () const
  in 1.3.3
Member Fl_Window::icon (const void *ic)
  in 1.3.3 in favor of platform-independent methods Fl_Window::icon(const Fl_RGB_Image *icon) and Fl_Window::icons(const Fl_RGB_Image *icons[], int count).
Page Operating System Issues

  Kept for compatibility with FLTK versions before 1.4. Use preferentially fl_x11_xid(const Fl_Window *) with versions 1.4 and above.

  Kept for compatibility with FLTK versions before 1.4. Use preferentially fl_x11_find(Window) with versions 1.4 and above.