mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-31 15:02:11 +02:00
Update to v106r52 release.
byuu says: I stand corrected, I managed to create and even larger diff than ever. This one weighs in at 309KiB `>__>` I'll have to create a changelog later, I'm too tired right now to go through all of that.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace hiro {
|
||||
|
||||
static auto BrowserWindow_addFilters(GtkWidget* dialog, string_vector filters) -> void {
|
||||
static auto BrowserWindow_addFilters(GtkWidget* dialog, vector<string> filters) -> void {
|
||||
for(auto& filter : filters) {
|
||||
GtkFileFilter* gtkFilter = gtk_file_filter_new();
|
||||
gtk_file_filter_set_name(gtkFilter, filter);
|
||||
|
@@ -36,11 +36,11 @@ static auto CreateImage(const image& icon, bool scale = false) -> GtkImage* {
|
||||
return gtkIcon;
|
||||
}
|
||||
|
||||
static auto DropPaths(GtkSelectionData* data) -> string_vector {
|
||||
static auto DropPaths(GtkSelectionData* data) -> vector<string> {
|
||||
gchar** uris = gtk_selection_data_get_uris(data);
|
||||
if(uris == nullptr) return {};
|
||||
|
||||
string_vector paths;
|
||||
vector<string> paths;
|
||||
for(unsigned n = 0; uris[n] != nullptr; n++) {
|
||||
gchar* pathname = g_filename_from_uri(uris[n], nullptr, nullptr);
|
||||
if(pathname == nullptr) continue;
|
||||
|
@@ -11,15 +11,15 @@ struct pConsole : pWidget {
|
||||
auto setForegroundColor(Color color) -> void;
|
||||
auto setPrompt(const string& prompt) -> void;
|
||||
|
||||
auto _keyPress(unsigned scancode, unsigned mask) -> bool;
|
||||
auto _keyPress(uint scancode, uint mask) -> bool;
|
||||
auto _seekToEnd() -> void;
|
||||
auto _seekToMark() -> void;
|
||||
|
||||
GtkWidget* subWidget = nullptr;
|
||||
GtkTextBuffer* textBuffer = nullptr;
|
||||
string previousPrompt;
|
||||
string_vector history;
|
||||
unsigned historyOffset = 0;
|
||||
vector<string> history;
|
||||
uint historyOffset = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user