20 |
#include "regionchooser.h" |
#include "regionchooser.h" |
21 |
|
|
22 |
#include <algorithm> |
#include <algorithm> |
|
#include <sstream> |
|
23 |
|
|
24 |
#include <cairomm/context.h> |
#include <cairomm/context.h> |
25 |
#include <gdkmm/general.h> |
#include <gdkmm/general.h> |
160 |
{ |
{ |
161 |
} |
} |
162 |
|
|
|
template<class T> inline std::string ToString(T o) { |
|
|
std::stringstream ss; |
|
|
ss << o; |
|
|
return ss.str(); |
|
|
} |
|
|
|
|
163 |
void RegionChooser::invalidate_key(int key) { |
void RegionChooser::invalidate_key(int key) { |
164 |
const int h = KEYBOARD_HEIGHT; |
const int h = KEYBOARD_HEIGHT; |
165 |
const int w = get_width() - 1; |
const int w = get_width() - 1; |