mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-30 03:29:59 +02:00
v109.4
Rename hiro::Property to hiro::Attribute Disable XChaCha20 CSPRNG on Android for now due to compilation issues Add macOS IOKit joypad support [Sintendo]
This commit is contained in:
@@ -359,7 +359,7 @@ auto BrowserDialogWindow::run() -> BrowserDialog::Response {
|
||||
window.setAlignment(state.relativeTo, state.alignment);
|
||||
window.setDismissable();
|
||||
window.setVisible();
|
||||
fileName.setFocused();
|
||||
fileName.setText(state.name).setFocused().doChange();
|
||||
Application::processEvents();
|
||||
view->resizeColumns();
|
||||
window.setModal();
|
||||
@@ -480,6 +480,11 @@ auto BrowserDialog::setFilters(const vector<string>& filters) -> type& {
|
||||
return *this;
|
||||
}
|
||||
|
||||
auto BrowserDialog::setName(const string& name) -> type& {
|
||||
state.name = name;
|
||||
return *this;
|
||||
}
|
||||
|
||||
auto BrowserDialog::setOptions(const vector<string>& options) -> type& {
|
||||
state.options = options;
|
||||
return *this;
|
||||
|
@@ -17,6 +17,7 @@ struct BrowserDialog {
|
||||
auto setAlignment(Alignment = Alignment::Center) -> type&;
|
||||
auto setAlignment(sWindow relativeTo, Alignment = Alignment::Center) -> type&;
|
||||
auto setFilters(const vector<string>& filters = {}) -> type&;
|
||||
auto setName(const string& name = "") -> type&;
|
||||
auto setOptions(const vector<string>& options = {}) -> type&;
|
||||
auto setPath(const string& path = "") -> type&;
|
||||
auto setTitle(const string& title = "") -> type&;
|
||||
@@ -26,6 +27,7 @@ private:
|
||||
string action;
|
||||
Alignment alignment = Alignment::Center;
|
||||
vector<string> filters = {"*"};
|
||||
string name;
|
||||
vector<string> options;
|
||||
string path;
|
||||
sWindow relativeTo;
|
||||
|
Reference in New Issue
Block a user