Search found 28 matches

by Roest
28 Sep 2020, 17:16
Forum: General Discussion
Replies: 3
Views: 95

Re: strange expanding effect after resizing the window

Still there in 3.0.6, created ticket.
by Roest
28 Sep 2020, 12:28
Forum: General Discussion
Replies: 3
Views: 95

strange expanding effect after resizing the window

Please have a look at this example video https://gfycat.com/snivelingbelovedflea After resizing the window the UI shows a weird resizing effect with some gui elements. This is with 3.0.4 right now. You can see for yourself on https://store.steampowered.com/app/709240/Ingnomia/ and the code would be ...
by Roest
16 Jun 2020, 10:51
Forum: General Discussion
Replies: 12
Views: 1371

Re: Disable keyboard shortscuts when in gui elements

I think @Roest can't use access keys in this context, because he doesn't want to use the Alt modifier key, just plain keys like 'R' to enable 'Rotate' mode. I think the question is for games in general. You want to have keyboard shortcuts without modifier keys. That's quite an accepted and expected...
by Roest
15 Jun 2020, 19:24
Forum: General Discussion
Replies: 12
Views: 1371

Re: Disable keyboard shortscuts when in gui elements

That works, can mark this as solved though I would still prefer that you guys find an internal solution or I'd have to make this change every time you publish an update.
by Roest
15 Jun 2020, 19:15
Forum: General Discussion
Replies: 12
Views: 1371

Re: Disable keyboard shortscuts when in gui elements

You are right we are not using modifier keys or more precise we have triggers without modifier keys because people are used to it. We also looked into it and saw that it's WPF way to have modifiers with key triggers. That might be ok for standard WPF applications but a game gui should allow keyboard...
by Roest
15 Jun 2020, 17:26
Forum: General Discussion
Replies: 12
Views: 1371

Re: Disable keyboard shortscuts when in gui elements

Not talking about a specific textbox here but all. Keyboard shortcuts are global and contain things like rotate map or zoom, then there are the number keys which are shortcuts to certain commands. None of them should trigger when you edit the name of a creature or put in a number for a trade value.
by Roest
15 Jun 2020, 14:58
Forum: General Discussion
Replies: 12
Views: 1371

Disable keyboard shortscuts when in gui elements

I'm using keyboard shortcuts in the way you suggested here. That works well as expected but now I encountered a new problem. These shortcuts also fire when editing text in a TextBox for example. Is there a way to avoid that?
by Roest
17 May 2020, 17:18
Forum: General Discussion
Replies: 1
Views: 401

Button command on right click

Is there a way to execute a command on right clicking a button? Something like <Button.InputBindings> <MouseBinding Gesture="RightClick" Command="{Binding command }" CommandParameter="{Binding param}"/> </Button.InputBindings> doesn't work because MouseBinding doesn't seem to exist in Noesis. So wha...
by Roest
30 Mar 2020, 20:54
Forum: General Discussion
Replies: 4
Views: 344

Re: CheckBox data binding error

Ok one more question. How would that work when I want to make the CheckBox tristate, which I guess is the Nullable for. So I have something like Noesis::Nullable<bool> Model::getState() const { return nullptr; } That compiles for itself but fails on Implement-Reflection with Severity Code Descriptio...
by Roest
30 Mar 2020, 16:22
Forum: General Discussion
Replies: 4
Views: 344

Re: CheckBox data binding error

thanks that worked