Search found 60 matches

by Ziriax
24 Feb 2017, 11:44
Forum: General Discussion
Replies: 12
Views: 3839

Re: [C++] Visual update on property changed

Just one more question, you are using 1.3 RC1?
by Ziriax
24 Feb 2017, 11:23
Forum: General Discussion
Replies: 12
Views: 3839

Re: [C++] Visual update on property changed

Thanks. And Item inherits from BaseComponent?
by Ziriax
24 Feb 2017, 10:40
Forum: General Discussion
Replies: 12
Views: 3839

Re: [C++] Visual update on property changed

Could you provide the full code of your Item_model and base class?

PS: I'm recovering from a serious flu, so my answers might not make sense if I read them again next week ;-)
by Ziriax
24 Feb 2017, 10:19
Forum: General Discussion
Replies: 12
Views: 3839

Re: [C++] Visual update on property changed

I might be wrong, I don't know enough about the C++ part.

But did you get your previous post working with the Cursor and pos_x? If you follow the same approach with the checked property, and it still does not work, then I am out of options.
by Ziriax
24 Feb 2017, 10:03
Forum: General Discussion
Replies: 12
Views: 3839

Re: [C++] Visual update on property changed

Oh hang on, I see something else

You pass NSS(mChecked)

But you should pass the name of the property, not the value.

Let me look for a sample
by Ziriax
24 Feb 2017, 10:01
Forum: General Discussion
Replies: 12
Views: 3839

Re: [C++] Visual update on property changed

Okay, then the Noesis guys need to look into this.
by Ziriax
24 Feb 2017, 09:52
Forum: General Discussion
Replies: 12
Views: 3839

Re: [C++] Visual update

I'm not sure this is the reason, but you raise the property changed event before your property actually changed. Try the following code: void CheckItem::SetIsChecked(bool check) { if (mChecked != check) { mChecked = check; _propertyChanged(this, NSS(mChecked)); } } class Item_model : public CheckIte...
by Ziriax
23 Feb 2017, 09:12
Forum: Official Announcements
Replies: 42
Views: 68070

Re: NoesisGUI 1.3 RC1

So many new features! I'm looking forward to use it. I have hot reloading of XAML and C# working with WPF (albeit with some limitations since Roslyn does not support all the MSBuild features). I'm curious if I can get it to work with Noesis
by Ziriax
16 Feb 2017, 11:55
Forum: General Discussion
Replies: 12
Views: 3268

Re: 1.3 BETA4: SetTheme and ResourceDictionary

@jsantos: yes, just calling SetTheme once is good enough for us, my "trick" seems to work fine. But I can't update my github code yet because 1.3 BETA4 makes the constructor of ResourceDictionary private, so I had to disable that code (not a major limitation since I just include the resour...
by Ziriax
16 Feb 2017, 00:50
Forum: General Discussion
Replies: 12
Views: 3268

Re: 1.3 BETA4: SetTheme and ResourceDictionary

Currently when auto-reloading I create an empty ResourceDictionary and set that as a theme. I also create a dummy control as the main view. Then I load the theme resources, and add these to the merged dictionaries. Then I load the main XAML as content of the dummy control. When either resources or X...