source/Platform/PlatformDisplay.h: change setIcon() parameters to take a pixel array instead of filename
This commit is contained in:
parent
a72ebf3d15
commit
60653509fa
1 changed files with 3 additions and 2 deletions
|
|
@ -4,9 +4,10 @@
|
|||
|
||||
#include <Spectre/Math/Vector2.h>
|
||||
#include <Spectre/Display/DisplayDescription.h>
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
|
||||
// Low-level platform dependant API.
|
||||
#include <string>
|
||||
|
||||
namespace sp {
|
||||
|
||||
|
|
@ -36,7 +37,7 @@ public :
|
|||
|
||||
virtual void setCaption(const std::string& caption) = 0;
|
||||
|
||||
virtual void setIcon(const std::string& icon) = 0;
|
||||
virtual void setIcon(unsigned int width, unsigned int height, const uint8_t *pixels) = 0;
|
||||
|
||||
virtual void showCursor(bool value) = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue