17 |
* 02110-1301 USA. |
* 02110-1301 USA. |
18 |
*/ |
*/ |
19 |
|
|
20 |
|
#include "global.h" |
21 |
#include "regionchooser.h" |
#include "regionchooser.h" |
22 |
|
|
23 |
#include <algorithm> |
#include <algorithm> |
31 |
#include <gtkmm/spinbutton.h> |
#include <gtkmm/spinbutton.h> |
32 |
#include <gtkmm/dialog.h> |
#include <gtkmm/dialog.h> |
33 |
|
|
|
#include "global.h" |
|
34 |
#include "Settings.h" |
#include "Settings.h" |
35 |
#include "gfx/builtinpix.h" |
#include "gfx/builtinpix.h" |
36 |
|
|
1064 |
// add OK and CANCEL buttons to the dialog |
// add OK and CANCEL buttons to the dialog |
1065 |
dialog.add_button(Gtk::Stock::OK, 0); |
dialog.add_button(Gtk::Stock::OK, 0); |
1066 |
dialog.add_button(Gtk::Stock::CANCEL, 1); |
dialog.add_button(Gtk::Stock::CANCEL, 1); |
1067 |
|
dialog.set_position(Gtk::WIN_POS_MOUSE); |
1068 |
dialog.show_all_children(); |
dialog.show_all_children(); |
1069 |
if (!dialog.run()) { // OK selected ... |
if (!dialog.run()) { // OK selected ... |
1070 |
region->KeyGroup = |
region->KeyGroup = |