Platform/Unix/X11Display: Implement setIcon()
This commit is contained in:
parent
3d9dda64ca
commit
f5d80aa46f
2 changed files with 37 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/Xos.h>
|
||||
#include <cstdint>
|
||||
#include <Platform/PlatformDisplay.h>
|
||||
|
||||
namespace sp {
|
||||
|
|
@ -35,6 +36,8 @@ public :
|
|||
|
||||
virtual void setIcon(const std::string& icon);
|
||||
|
||||
virtual void setIcon(unsigned int width, unsigned int height, const uint8_t *pixels);
|
||||
|
||||
virtual void showCursor(bool value);
|
||||
|
||||
void processEvent(const ::XEvent& event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue