summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Window.cxx4
-rw-r--r--src/fl_cursor.cxx9
2 files changed, 12 insertions, 1 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index ba9f7fef3..9119b7620 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -157,6 +157,7 @@ void Fl_Window::label(const char *name) {
label(name, iconlabel()); // platform dependent
}
+/** Sets the window titlebar label to a copy of a character string */
void Fl_Window::copy_label(const char *a) {
Fl_Widget::copy_label(a);
label(label(), iconlabel()); // platform dependent
@@ -372,6 +373,9 @@ void Fl_Window::icon(const void * ic) {
icon_->legacy_icon = ic;
}
+/** Deletes all icons previously attached to the window.
+ \see Fl_Window::icons(const Fl_RGB_Image *icons[], int count)
+ */
void Fl_Window::free_icons() {
int i;
diff --git a/src/fl_cursor.cxx b/src/fl_cursor.cxx
index 71a9db5ea..5375c4f30 100644
--- a/src/fl_cursor.cxx
+++ b/src/fl_cursor.cxx
@@ -174,11 +174,18 @@ void Fl_Window::cursor(const Fl_RGB_Image *image, int hotx, int hoty) {
cursor(FL_CURSOR_DEFAULT);
}
-/* For back compatibility only. */
+/**
+ For back compatibility only.
+ Same as Fl_Window::cursor(Fl_Cursor)
+*/
void Fl_Window::cursor(Fl_Cursor c, Fl_Color, Fl_Color) {
cursor(c);
};
+/**
+ For back compatibility only.
+ same as Fl_Window::default_cursor(Fl_Cursor)
+*/
void Fl_Window::default_cursor(Fl_Cursor c, Fl_Color, Fl_Color) {
default_cursor(c);
};