7 ms·
Hi all, I'm the originator of this project and the main contributor, please ask anything you like! Though this did have to hit front page when I'm doing a day
by grokys 10y ago
Hi all, I'm the originator of this project and the main contributor, please ask anything you like!
Though this did have to hit front page when I'm doing a day of travel didn't it? :)
- heinbau 10y agoAnything around graphing yet? Or Is that still something that I would need to roll with SyncFusion, Telerik or something similar.
- grokys 10y agoNo not currently - were still working on the core at the moment, though I think we're just about ready for it now if anyone was interested in starting on it.
- govert 10y agoMaybe Avalonia support can be added to OxyPlot (https://github.com/oxyplot/oxyplot/tree/develop/Source https://github.com/oxyplot/oxyplot/tree/develop/Source). It's already portable with a bunch of rendering targets.
- yodon 10y agoAny chance you plan on supporting UI's for Unity3d?
- grokys 10y agoNot really thought about unity in particular, but we do have game ui as a potential use-case.
- johnhattan 10y agoWould this potentially work with Monogame, as that's built on the same framework?
- grokys 10y agoHonestly - no idea. However our backends are pluggable so in theory you should be able to adapt it. However, I imagine our performance at the moment exclude use in games. It's something that needs to be optimized.
- c-smile 10y agoWhat graphics backend do you use there? If you want it to be used in games then on Windows, for example, Direct2D is the only reasonable option. It will allow to render UI on layers inside DirectX 3D scenes: http://sciter.com/sciter-and-directx/ http://sciter.com/sciter-and-directx/
- grokys 10y agoYep, we have a Direct2D backend (in fact that's our main one - the others are lagging behind a little)
- lossolo 10y agoI was looking for something like this after .NET Core 1.0 announce. I am just waiting for it to be compatible with .NET Core. Any plans for making it compatible? Great job!
- grokys 10y agoYep! The main thing that's holding me back personally is that we'd have to convert our .csprojs to project.json... And then convert them back in a few months/a year when core moves back to .csproj. So seems like wasted effort to me right now...
- joshburgess 10y agoWhy are they moving back to .csproj?
- samirageb 10y agoSee the official statement here: https://blogs.msdn.microsoft.com/dotnet/2016/05/23/changes-to-project-json/ https://blogs.msdn.microsoft.com/dotnet/2016/05/23/changes-t...
- MichaelGG 10y agoThere was nothing wrong with csproj, apart from the MSBuild verbosity baggage. JSON's a terrible format for anything like this due to lack of comments and visual noise. (The mandatory quotes all over the place makes it hard to read.) But I can't imagine it is hard to convert between them. Most .csproj's are basically a list of references and a <Compile><Include>*.cs.
- girvo 10y ago> due to lack of comments Visual Studio Code handles this by just allowing comments in JSON used for configuration, heh.
- mwcampbell 10y agoDo you have any plans to implement accessibility? On Windows, you should probably implement a UI Automation provider. For GTK-based platforms, I guess you need to use ATK. You'll need an accessibility API of your own to abstract over the multiple back-ends; maybe copy what Gecko has in its nsIAccessible and related interfaces.
- grokys 10y agoYes this is definitely something we need to do. Unfortunately it's not something I'm very familiar with, but contributions welcome! ;)
- deleted 10y ago[deleted]
- colejohnson66 10y agoAre there any plans to support styling so you can get a native look-and-feel on non "Modern" Windows operating systems?
- grokys 10y agoThere's already https://github.com/picoe/Eto https://github.com/picoe/Eto if you want to use native controls - if that's what you need go for it! But there's a need for both approaches IMO and hopefully Avalonia can start to fill one of those! EDIT: Ah you edited your question: yes controls are fully styleable - the reason we've got the "modern" look so far is simply because it's easy! More themes, and "native" looking themes are definitely welcome.
- jsingleton 10y agoIt looks like Eto doesn't plan to support .NET Core. https://github.com/picoe/Eto/issues/457 https://github.com/picoe/Eto/issues/457 But this might change if a framework like Avalonia adds Core support.
- zem 10y agowhat is the support for custom controls like? (i.e. inheriting from a canvas and drawing themselves, while being added as a new widget type to the layout code.)
- grokys 10y agoCustom controls are supported, although I'm not sure that inheriting from Canvas is the best way to do that. See e.g. https://github.com/Core2D/Core2D https://github.com/Core2D/Core2D for an example of an application with lots of custom controls.
- wiso 10y agoThe support is great, you can see this example [1] of using custom rendering in Canvas being part of UI layout [2]. You can also see Avalonia in action here [3]. [1] https://github.com/wieslawsoltes/SpiroNet/blob/master/src/SpiroNet.Avalonia/Renderer/CanvasRenderer.cs https://github.com/wieslawsoltes/SpiroNet/blob/master/src/Sp... [2] https://github.com/wieslawsoltes/SpiroNet/blob/master/src/SpiroNet.Avalonia/Views/EditorView.xaml#L164 https://github.com/wieslawsoltes/SpiroNet/blob/master/src/Sp... [3] https://youtu.be/wZK9MPR_UeE https://youtu.be/wZK9MPR_UeE