improve support of opengl for Linux
This commit is contained in:
@@ -45,6 +45,15 @@ namespace nana
|
||||
|
||||
namespace API
|
||||
{
|
||||
#ifdef NANA_X11
|
||||
//Some platform specific functions for X11
|
||||
namespace x11
|
||||
{
|
||||
/// Returns the connection to the X server
|
||||
const void* get_display();
|
||||
}
|
||||
#endif
|
||||
|
||||
namespace detail
|
||||
{
|
||||
::nana::widget_geometrics* make_scheme(::nana::detail::scheme_factory_interface&&);
|
||||
@@ -110,6 +119,7 @@ namespace API
|
||||
void draw_shortkey_underline(paint::graphics&, const std::string& text, wchar_t shortkey, std::size_t shortkey_position, const point& text_pos, const color&);
|
||||
}//end namespace dev
|
||||
|
||||
|
||||
/// Returns the widget pointer of the specified window.
|
||||
/*
|
||||
* @param window_handle A handle to a window owning the widget.
|
||||
|
||||
Reference in New Issue
Block a user