view dw/fltkmisc.hh @ 2048:5060d415a85a

clickable menu items (even those introducing submenus) MUST have callbacks I clicked on the "Panel size" item itself instead of any of the options in its submenu, and: Segfault!
author corvid <corvid@lavabit.com>
date Thu, 26 May 2011 02:51:18 +0000
parents e5955ab8dafb
children
line wrap: on
line source
#ifndef __FLTKMISC_HH__
#define __FLTKMISC_HH__

namespace dw {
namespace fltk {

/**
 * \brief Miscellaneous FLTK stuff.
 */
namespace misc {

int screenWidth ();
int screenHeight ();

void warpPointer (int x, int y);

} // namespace misc
} // namespace fltk
} // namespace dw


#endif // __FLTKMISC_HH__