mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-12 13:49:12 +00:00
rough implementiaon
This commit is contained in:
parent
cfba977275
commit
3f8e1a69ec
1 changed files with 6 additions and 2 deletions
|
@ -609,7 +609,7 @@ namespace Ryujinx.Ui.Windows
|
||||||
|
|
||||||
for (int j = 0; j < _gameDirsBoxStore1.IterNChildren(); j++)
|
for (int j = 0; j < _gameDirsBoxStore1.IterNChildren(); j++)
|
||||||
{
|
{
|
||||||
gameDirs.Add((string)_gameDirsBoxStore1.GetValue(treeIter1, 0));
|
ExcludegameDirs.Add((string)_gameDirsBoxStore1.GetValue(treeIter1, 0));
|
||||||
|
|
||||||
_gameDirsBoxStore1.IterNext(ref treeIter1);
|
_gameDirsBoxStore1.IterNext(ref treeIter1);
|
||||||
}
|
}
|
||||||
|
@ -776,6 +776,7 @@ namespace Ryujinx.Ui.Windows
|
||||||
Console.WriteLine("here");
|
Console.WriteLine("here");
|
||||||
_include_exclude_dir.Label = "exclude";
|
_include_exclude_dir.Label = "exclude";
|
||||||
_includeorexlude = IncludeorExclude.Exclude;
|
_includeorexlude = IncludeorExclude.Exclude;
|
||||||
|
_gameDirsBox1.Selection.UnselectAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onRowActivated1(object sender, ButtonReleaseEventArgs args)
|
private void onRowActivated1(object sender, ButtonReleaseEventArgs args)
|
||||||
|
@ -783,6 +784,7 @@ namespace Ryujinx.Ui.Windows
|
||||||
Console.WriteLine("here");
|
Console.WriteLine("here");
|
||||||
_include_exclude_dir.Label = "include";
|
_include_exclude_dir.Label = "include";
|
||||||
_includeorexlude = IncludeorExclude.Include;
|
_includeorexlude = IncludeorExclude.Include;
|
||||||
|
_gameDirsBox.Selection.UnselectAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -845,9 +847,11 @@ namespace Ryujinx.Ui.Windows
|
||||||
if (selection.GetSelected(out TreeIter treeIter))
|
if (selection.GetSelected(out TreeIter treeIter))
|
||||||
{
|
{
|
||||||
var model = _gameDirsBox.Model;
|
var model = _gameDirsBox.Model;
|
||||||
|
_gameDirsBoxStore1.AppendValues(model.GetValue(treeIter, 0));
|
||||||
Console.WriteLine(model.GetValue(treeIter,0));
|
Console.WriteLine(model.GetValue(treeIter,0));
|
||||||
|
_directoryChanged = true;
|
||||||
|
|
||||||
|
_gameDirsBoxStore.Remove(ref treeIter);
|
||||||
}
|
}
|
||||||
|
|
||||||
((ToggleButton)sender).SetStateFlags(StateFlags.Normal, true);
|
((ToggleButton)sender).SetStateFlags(StateFlags.Normal, true);
|
||||||
|
|
Loading…
Reference in a new issue