CGII/framework/include/cgv/os/clipboard.h

18 lines
434 B
C
Raw Normal View History

2018-05-17 14:01:02 +00:00
#pragma once
2018-05-17 13:50:03 +00:00
#include "lib_begin.h"
2018-05-17 14:01:02 +00:00
namespace cgv {
namespace os {
/// copies the given text to the clipboard
2018-05-17 13:50:03 +00:00
extern CGV_API bool copy_text_to_clipboard(const char* text);
/// copies an image of width w and height h given as packed rgb pixels of type unsigned char to the clipboard
extern CGV_API bool copy_rgb_image_to_clipboard(int w, int h, const unsigned char* image_buffer);
}
}
2018-05-17 14:01:02 +00:00
#include <cgv/config/lib_end.h>