cgv
Loading...
Searching...
No Matches
clipboard.h
1
#pragma once
2
#include <string>
3
#include <vector>
4
#include "lib_begin.h"
5
6
namespace
cgv
{
7
namespace
os {
8
10
extern
CGV_API
bool
copy_text_to_clipboard(
const
char
* text);
12
extern
CGV_API
bool
copy_rgb_image_to_clipboard(
int
w,
int
h,
const
unsigned
char
* image_buffer);
14
extern
CGV_API
bool
get_text_from_clipboard(std::string& text,
bool
clear_clipboard =
false
);
16
extern
CGV_API
bool
get_rgb_image_from_clipboard(
int
& w,
int
& h, std::vector<char>& data,
bool
clear_clipboard =
false
);
17
18
}
19
}
20
21
#include <cgv/config/lib_end.h>
cgv
the cgv namespace
Definition
print.h:11
cgv
os
clipboard.h
Generated by
1.9.8