|
|
|
@ -1,36 +1,18 @@
|
|
|
|
#include <gtkmm/window.h>
|
|
|
|
#include <gtkmm/window.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <glibmm/i18n.h>
|
|
|
|
#include <cstddef>
|
|
|
|
#include <gtkmm/plug.h>
|
|
|
|
#include <cstdlib>
|
|
|
|
#include <gtkmm/stock.h>
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
#include <gtkmm.h>
|
|
|
|
#include <gtkmm.h>
|
|
|
|
#include <ostream>
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
#include <map>
|
|
|
|
#include <string>
|
|
|
|
#include <string>
|
|
|
|
#include <ctime>
|
|
|
|
#include <array>
|
|
|
|
#include <vector>
|
|
|
|
#include <vector>
|
|
|
|
#include <map>
|
|
|
|
|
|
|
|
#include <fstream>
|
|
|
|
#include <fstream>
|
|
|
|
#include <filesystem>
|
|
|
|
#include <filesystem>
|
|
|
|
#include <glibmm/i18n.h>
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <gtkmm/plug.h>
|
|
|
|
|
|
|
|
#include <gtkmm/stock.h>
|
|
|
|
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include <sstream>
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include <unicode/unistr.h>
|
|
|
|
|
|
|
|
#include <unicode/ustdio.h>
|
|
|
|
|
|
|
|
#include <unicode/uloc.h>
|
|
|
|
|
|
|
|
#include <unicode/uldnames.h>
|
|
|
|
|
|
|
|
#include "unicode/utypes.h"
|
|
|
|
|
|
|
|
#include "unicode/utext.h"
|
|
|
|
|
|
|
|
#include <unicode/timezone.h>
|
|
|
|
#include <unicode/timezone.h>
|
|
|
|
#include <unicode/calendar.h>
|
|
|
|
#include <unicode/calendar.h>
|
|
|
|
#include <array>
|
|
|
|
|
|
|
|
#include "ubl-settings-datetime.h"
|
|
|
|
#include "ubl-settings-datetime.h"
|
|
|
|
using namespace std;
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
|
|
@ -687,16 +669,17 @@ void MainWindow::append_region_zone(string region, string zone, Gtk::ComboBoxTex
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// Cортировка пузырьком
|
|
|
|
// Cортировка пузырьком
|
|
|
|
if (size_vec==0){
|
|
|
|
if (size_vec==0){
|
|
|
|
|
|
|
|
size_vec = array_region_local.size();
|
|
|
|
for (int i = 0; i < size_vec; i++) {
|
|
|
|
for (int i = 0; i < size_vec; i++) {
|
|
|
|
for (int j = 0; j < size_vec-1; j++) {
|
|
|
|
for (int j = 0; j < size_vec-1; j++) {
|
|
|
|
if (array_region_local[j] > array_region_local[j + 1]) {
|
|
|
|
if (array_region_local[j] > array_region_local[j + 1]) {
|
|
|
|
auto b = array_region_local[j];
|
|
|
|
auto b = array_region_local[j];
|
|
|
|
array_region_local[j] = array_region_local[j + 1];
|
|
|
|
array_region_local[j] = array_region_local[j + 1];
|
|
|
|
array_region_local[j + 1] = b;
|
|
|
|
array_region_local[j + 1] = b;
|
|
|
|
b = array_region[j];
|
|
|
|
b = array_region[j];
|
|
|
|
array_region[j] = array_region[j + 1];
|
|
|
|
array_region[j] = array_region[j + 1];
|
|
|
|
array_region[j + 1] = b;
|
|
|
|
array_region[j + 1] = b;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|