Spectre/Display/Display: implement setIcon() with pixel array parameter.
This commit is contained in:
parent
2be3c66a2d
commit
82add50157
2 changed files with 14 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include "DisplayMode.h"
|
||||
#include "DisplayDescription.h"
|
||||
#include <Spectre/Display/GLContext.h>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
namespace sp {
|
||||
|
|
@ -38,6 +39,8 @@ public :
|
|||
|
||||
void setIcon(const std::string& filename);
|
||||
|
||||
void setIcon(unsigned int width, unsigned int height, const uint8_t *pixels);
|
||||
|
||||
void setDisplayMode(const DisplayMode& mode);
|
||||
|
||||
const DisplayMode& getDisplayMode() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue