Search found 14 matches

  • 1
  • 2
by cosmo
04 Jan 2016, 17:02
Forum: Showcase Gallery
Replies: 3
Views: 18192

Re: Arc and Pie Chart

Ive been on a Christmas Holiday for the last few weeks. Here is what I ran into. For the pie slice collection on the PieChartControl if I use a standard collection with a backing field everything works as expected. This can be seen as follows. public ObservableCollection<PieSlice> _pieSlices = new O...
by cosmo
17 Dec 2015, 19:52
Forum: Showcase Gallery
Replies: 3
Views: 18192

Arc and Pie Chart

Good Afternoon, I had the need to build an arc control and pie chart control for my current project and figured I would share. There is a lot more that could be done and I may update in the future with a legend for the pie chart and tool-tips. Originally I was going to have the collection be a depen...
by cosmo
01 Dec 2015, 22:15
Forum: General Discussion
Replies: 2
Views: 1900

Re: Custom Control

Preliminary tests appear that custom controls are supported... functional pie chart. I should have just tried rather than asking. :-)
by cosmo
01 Dec 2015, 21:31
Forum: General Discussion
Replies: 2
Views: 1900

Custom Control

Are custom controls supported in Unity? Specifically I have a pie chart and bar chart control that I created in WPF. I would like to port them to NoesisGUI but before doing so wanted to be sure that customer controls are supported in Unity... I see a c++ example and hoping that c# unity would work t...
by cosmo
18 Nov 2015, 17:47
Forum: General Discussion
Replies: 4
Views: 2996

Re: Truncate Mouse Events to Scene when work with NoesisGUI

I use the following method to check if I am over an ngui object or not. private Visual _mainContent; public bool OverUIElement { get { if (_mainContent == null) { var panel = Camera.main.GetComponent<NoesisGUIPanel>(); _mainContent = VisualTreeHelper.GetRoot(panel.GetContent()); } var x = Input.mous...
by cosmo
09 Nov 2015, 17:41
Forum: General Discussion
Replies: 3
Views: 2429

Re: How to Render a Path using Geometry

Is this planned to be resolved? I am for whatever reason unable to get my icons to render using the other methods given. Here is the exact code I am using. When using the rectangle and visual brush I am getting my icon in visual studio and a xaml page. When using the control template with a canvas I...
by cosmo
02 Nov 2015, 21:19
Forum: General Discussion
Replies: 3
Views: 2429

How to Render a Path using Geometry

The following renders fine in visual studio with the [Has Geometry Here] filled in utilizing a rectangle to contain the resource. How can I modify this code to render using Noesis? I am attempting to use a icon library that is formatted with the following objects as a static resource for each icon. ...
by cosmo
21 May 2015, 15:15
Forum: General Discussion
Replies: 4
Views: 3317

Re: Over Noesis GUI

This did end up working, I didn't convert the coordinate system from unity to wpf coordinate in my first attempt. Here is the working code. private Visual _mainContent; public bool OverUIElement { get { if (_mainContent == null) { var panel = Camera.main.GetComponent<NoesisGUIPanel>(); _mainContent ...
by cosmo
18 May 2015, 14:46
Forum: General Discussion
Replies: 4
Views: 3317

Re: Over Noesis GUI

I am having trouble utilizing this. It works on an individual item but not on that items parent. For Example. If I have a button in a grid and the mouse is hovering over the button. I hit test the grid, the element returned from the hit test is null. I hit test the button itself then the element ret...
by cosmo
27 Apr 2015, 02:43
Forum: General Discussion
Replies: 5
Views: 2744

Re: Image artifacts

I have about 200 Icons that I am setting dynamically in my project. I am doing the following to accomplish that if it helps. In WPF 1.) Create a resource dictionary with the icons in it. Below is an example of an icon. 2.) Create a content control on my page where I would like that icon to live. 3.)...
  • 1
  • 2