mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +08:00
Moved the initializations of Fl_Mac_App_Menu class fields to file Fl.cxx for Doxygen use.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8364 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -66,6 +66,15 @@ extern double fl_mac_flush_and_wait(double time_to_wait, char in_idle);
|
|||||||
//
|
//
|
||||||
// Globals...
|
// Globals...
|
||||||
//
|
//
|
||||||
|
#if defined(__APPLE__) || defined(FL_DOXYGEN)
|
||||||
|
const char *Fl_Mac_App_Menu::about = "About ";
|
||||||
|
const char *Fl_Mac_App_Menu::print = "Print Front Window";
|
||||||
|
const char *Fl_Mac_App_Menu::services = "Services";
|
||||||
|
const char *Fl_Mac_App_Menu::hide = "Hide ";
|
||||||
|
const char *Fl_Mac_App_Menu::hide_others = "Hide Others";
|
||||||
|
const char *Fl_Mac_App_Menu::show = "Show All";
|
||||||
|
const char *Fl_Mac_App_Menu::quit = "Quit ";
|
||||||
|
#endif // __APPLE__
|
||||||
#ifndef FL_DOXYGEN
|
#ifndef FL_DOXYGEN
|
||||||
Fl_Widget *Fl::belowmouse_,
|
Fl_Widget *Fl::belowmouse_,
|
||||||
*Fl::pushed_,
|
*Fl::pushed_,
|
||||||
|
|||||||
@@ -2805,14 +2805,6 @@ int Fl_X::screen_init(XRectangle screens[], float dpi[])
|
|||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
const char *Fl_Mac_App_Menu::about = "About ";
|
|
||||||
const char *Fl_Mac_App_Menu::print = "Print Front Window";
|
|
||||||
const char *Fl_Mac_App_Menu::services = "Services";
|
|
||||||
const char *Fl_Mac_App_Menu::hide = "Hide ";
|
|
||||||
const char *Fl_Mac_App_Menu::hide_others = "Hide Others";
|
|
||||||
const char *Fl_Mac_App_Menu::show = "Show All";
|
|
||||||
const char *Fl_Mac_App_Menu::quit = "Quit ";
|
|
||||||
|
|
||||||
static NSMenu *appleMenu;
|
static NSMenu *appleMenu;
|
||||||
static void createAppleMenu(void)
|
static void createAppleMenu(void)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user