Search found 71 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 8
by HateDread
26 Mar 2024, 13:36
Forum: General Discussion
Replies: 4
Views: 37

Re: Clang compile issues with unused variable in ReflectionImplement.h

Okay, I think I know what's going on here. I'm using Visual Studio and Clang together, i.e. I generate my CMake solution for Visual Studio using the following: cmake .. -G "Visual Studio 17 2022" -T "ClangCL" This means that when compiling, the following two statements are true #...
by HateDread
26 Mar 2024, 13:09
Forum: General Discussion
Replies: 4
Views: 37

Re: Clang compile issues with unused variable in ReflectionImplement.h

Also getting an issue in non-debug Clang build 15>C:\_Development\Repositories\rtg\libs\NoesisUtils\Private\App.Providers.cpp(13,1): error : unexpected argument 's' to '#pragma optimize'; expected "" [-Werror,-Wignored-pragmas] 15>C:\_Development\Repositories\rtg\third_party\Noesis\Include...
by HateDread
26 Mar 2024, 12:03
Forum: General Discussion
Replies: 4
Views: 37

Clang compile issues with unused variable in ReflectionImplement.h

For NS_IMPLEMENT_REFLECTION2, 'helper' is not used, fix is adding '[[maybe_unused]]': NS_COLD_FUNC void classType::StaticFillClassType([[maybe_unused]] Noesis::TypeClassCreator& helper) Same with NS_IMPLEMENT_INLINE_REFLECTION3: NS_COLD_FUNC static void StaticFillClassType([[maybe_unused]] Noesi...
by HateDread
16 Mar 2024, 01:33
Forum: General Discussion
Replies: 4
Views: 224

Re: How can I get Noesis Studio?

+1, very very interested
by HateDread
14 Mar 2024, 13:07
Forum: General Discussion
Replies: 2
Views: 125

Suggested design/architecture for UI audio?

Looking at https://www.noesisengine.com/forums/viewtopic.php?t=2098, I see PlaySoundAction and Interactivity, and the suggestion of potentially implementing a custom action, which I might do eventually for FMOD. But for now, I have more design-related questions from the XAML/UI POV. 1. How does one ...
by HateDread
23 Jan 2024, 14:40
Forum: General Discussion
Replies: 2
Views: 1173

Re: natvis file?

by HateDread
20 Jan 2024, 08:52
Forum: General Discussion
Replies: 15
Views: 13271

Re: Unit health bars with NoesisGUI

1. I was unbinding first to make sure I only register once to the element's SizeChanged event. 2. In C++ a property changed function should be like this: static void OnPosChanged(Noesis::BaseComponent* obj, const Noesis::DependencyPropertyChangedEventArgs& e) { if (Noesis::FrameworkElement* ele...
by HateDread
20 Jan 2024, 03:36
Forum: General Discussion
Replies: 2
Views: 1173

natvis file?

Hi, Having a lot of trouble dealing with Noesis::ObservableCollection without being able to see the elements it contains in the debugger, so I searched for Natvis and found mention of it in old release notes + a bug fix for it not working with static lib. I can't seem to find the natvis file - any h...
by HateDread
15 Jan 2024, 14:43
Forum: General Discussion
Replies: 3
Views: 1378

Re: Attached Properties in templates/styles and used in binding?

Not exactly, I don't think - I'm trying to have these templates/styles be able to re-target to a different path based on something like an Attached Property, but not all of them will do that. So you can imagine if I had a Target property, but only want some of my shared templates/styles to use that,...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 8