mirror of
https://github.com/fltk/fltk.git
synced 2026-06-01 06:14:28 +08:00
Add (x,y) positioning mode to common dialogs
Add new function to set (x,y) position. Reset to previous mode after innards is called by fl_* function. Use magic number for preferred position state. Note: several commits squashed and commit messages edited by AlbrechtS.
This commit is contained in:
committed by
Albrecht Schlosser
parent
f386bd2cb7
commit
ee7577a897
+3
-1
@@ -24,7 +24,6 @@
|
||||
# define fl_ask_H
|
||||
|
||||
# include "Enumerations.H"
|
||||
|
||||
class Fl_Widget;
|
||||
|
||||
/** Different system beeps available.
|
||||
@@ -66,6 +65,9 @@ inline void fl_message_font(Fl_Font f, Fl_Fontsize s) {
|
||||
FL_EXPORT void fl_message_hotspot(int enable);
|
||||
FL_EXPORT int fl_message_hotspot(void);
|
||||
|
||||
FL_EXPORT void fl_message_position(const int x = 0, const int y = 0);
|
||||
FL_EXPORT void fl_message_position(int* x = 0, int* y = 0);
|
||||
|
||||
FL_EXPORT void fl_message_title(const char *title);
|
||||
FL_EXPORT void fl_message_title_default(const char *title);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user