Search found 193 matches

by KeldorKatarn
25 May 2021, 08:41
Forum: General Discussion
Replies: 3
Views: 3248

Getting the View DPI

In WPF there are a couple common ways of getting the current DPI: VisualTreeHelper.GetDpi(Visual visual); // Since .NET Framework 4.6.2 var dpiXProperty = typeof(SystemParameters).GetProperty("DpiX", BindingFlags.NonPublic | BindingFlags.Static); var dpiYProperty = typeof(SystemParameters)...
by KeldorKatarn
24 May 2021, 03:32
Forum: General Discussion
Replies: 16
Views: 15768

Re: Caliburn.Noesis (Caliburn.Micro port)

Added some helper controls for easier transitions. Inspired by MaterialDesignInXamlToolkit but heavily refactored. I didn't enjoy that API. Examples are in this branch https://github.com/VacuumBreather/Caliburn.Noesis/tree/feature/transitions (still waiting for Noesis API to catch up before merging ...
by KeldorKatarn
16 May 2021, 04:34
Forum: General Discussion
Replies: 1
Views: 2256

Trouble understanding what exactle the Application Framework is

Ok so maybe i'm a bit stupid here but I'm trying to get a very simple Hello World screen to show up in an existing game that I try to integrate Noesis into. But the tutorials are really hard to understand for me. It mentions the Application framework tons of times basically telling me "oh yeah ...
by KeldorKatarn
14 May 2021, 12:33
Forum: General Discussion
Replies: 3
Views: 2193

Re: Trouble Building the C++ SDK

Nevermind, Visual Studio messed up the SDK installation apparently. I googled and some had this problem. A repair installation + adding Game Development in C++ to make completely sure cause it to reinstall the latest WinSDK. Apparently VS had messed something up before and was missing some stuff. It...
by KeldorKatarn
14 May 2021, 11:38
Forum: General Discussion
Replies: 3
Views: 2193

Trouble Building the C++ SDK

I'm having some trouble building the C++ SDK Solution with the samples. The NoesisApp project basically complains that it's not a win32 executable, the others all fail complaining there is no ucrtbased.dll to be found. I'm trying to build with VS 2019 and retargeted the solution to my current Window...
by KeldorKatarn
10 May 2021, 20:11
Forum: General Discussion
Replies: 16
Views: 15768

Re: Caliburn.Noesis (Caliburn.Micro port)

It is necessary. I also ran into a couple problems implementing my current sample, which is supposed to look a little more beautiful. The most pressing things that are right now blocking me from getting it to run in Unity are these: 2016 2015 2013 2008 2006 2004 1041 You can check my feature/conduct...
by KeldorKatarn
10 May 2021, 15:00
Forum: General Discussion
Replies: 2
Views: 4559

Re: Default Styles and Generic.xaml in Unity

It's actually not THAT bad I think, since you'll probably override everything anyway in a game... I'm working on a sample at the moment. Check my "feature/Conductors" sample branch in my github for Caliburn.Noesis. I added a few controls and work with them in new styling in the sample :) Y...
by KeldorKatarn
09 May 2021, 17:14
Forum: General Discussion
Replies: 1
Views: 2015

Re: UserControl binding to ContentControl's Content

I'm not sure what you are trying to do here but I can already tell you that it's now how you do things. You don't use controls behind the scenes. They need to be an actual part of the tree.
by KeldorKatarn
06 May 2021, 21:41
Forum: General Discussion
Replies: 2
Views: 4559

Default Styles and Generic.xaml in Unity

In standard WPF, when I create a new custom control, a few things happen: [*]DefaultStyleKeyProperty metadata is overriden [*]A style is added in Themes/Generic.xaml [*]ThemeInfoAttribute is set on assembly level In Unity this probably has to work differently? Unless AssemblyDefinitions are provided...
by KeldorKatarn
06 May 2021, 20:48
Forum: General Discussion
Replies: 16
Views: 15768

Re: Caliburn.Noesis (Caliburn.Micro port)