implement bedrock::delete_platform_assoc for linux
This commit is contained in:
parent
f6548acc84
commit
2ba4b612f1
@ -104,6 +104,11 @@ namespace detail
|
|||||||
void window_proc_for_packet(Display *, nana::detail::msg_packet_tag&);
|
void window_proc_for_packet(Display *, nana::detail::msg_packet_tag&);
|
||||||
void window_proc_for_xevent(Display*, XEvent&);
|
void window_proc_for_xevent(Display*, XEvent&);
|
||||||
|
|
||||||
|
struct window_platform_assoc
|
||||||
|
{
|
||||||
|
//Wait...
|
||||||
|
};
|
||||||
|
|
||||||
//class bedrock defines a static object itself to implement a static singleton
|
//class bedrock defines a static object itself to implement a static singleton
|
||||||
//here is the definition of this object
|
//here is the definition of this object
|
||||||
bedrock bedrock::bedrock_object;
|
bedrock bedrock::bedrock_object;
|
||||||
@ -222,6 +227,11 @@ namespace detail
|
|||||||
arg.shift = (xkey.state & ShiftMask);
|
arg.shift = (xkey.state & ShiftMask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void bedrock::delete_platform_assoc(window_platform_assoc* passoc)
|
||||||
|
{
|
||||||
|
delete passoc;
|
||||||
|
}
|
||||||
|
|
||||||
void bedrock::keyboard_accelerator(native_window_type, const accel_key&, const std::function<void()>& fn)
|
void bedrock::keyboard_accelerator(native_window_type, const accel_key&, const std::function<void()>& fn)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user