Just curious: Why would someone do a TUI (text-based user interface) on a modern computer? Using C# implies that you're running on a device powerful enough for a traditional GUI. (And you really don't need much to run C#, just enough RAM / Disk for the framework and to handle the overhead of the garbage collector.)
A GUI framework for C# console applications
51–60 of 64 posts
Re: A GUI framework for C# console applications
#52Now if only we could get cross platform WPF for C#
It isn't simply the functionality, but also the massive community/examples/tutorials/etc that already exist for the JavaScript/Node/Electron ecosystem. WPF, even on Windows, is much smaller but if they ever ported it to Linux/MacOS/iOS/iPadOS/Android the resources would be microscopic, and it would be a legitimate limiter to the platform's success.
It would largely be dead on arrival. I wouldn't even use it (and I am their core developer demographic). The only argument people can make is performance, and WPF isn't exactly speedy itself (particularly without hardware acceleration). Plus you're competing with a much better ingrained Qt.
I was actually trying to create a cross-platform solution this weekend between PyQt and Electron, and ultimately wound up using Electron, not because it is better within itself but because you have this huge ecosystem of samples/snippets/etc to built upon. It is a productivity multiplier.
Re: A GUI framework for C# console applications
#53Re: A GUI framework for C# console applications
#54Re: A GUI framework for C# console applications
#55Just curious: Why would someone do a TUI (text-based user interface) on a modern computer? Using C# implies that you're running on a device powerful enough for a traditional GUI. (And you really don't need much to run C#, just enough RAM / Disk for the framework and to handle the overhead of the garbage collector.)
In principle, all of these things could be done with a GUI, but in practice, they're not, and with the phoneification of software, the keyboard is an afterthought, not the main input mechanism.
Re: A GUI framework for C# console applications
#56So is this cross-platform? How does it compare to http://hackage.haskell.org/package/brick ?
It's .Net Core but there doesn't seem to be any mention of running it on Linux or macOS.
It will depend on how the System.Console class is implemented in Linux and macOS. It might fair better to port the example to Mono or .NET Core 3.0 (which should just be a change of build settings).
_______________
| | | |
| | STD | |
| |_____| |
| | |
| FX | CORE |
|______|______|Re: A GUI framework for C# console applications
#57Just curious: Why would someone do a TUI (text-based user interface) on a modern computer? Using C# implies that you're running on a device powerful enough for a traditional GUI. (And you really don't need much to run C#, just enough RAM / Disk for the framework and to handle the overhead of the garbage collector.)
Re: A GUI framework for C# console applications
#58Earlier quoted context omitted.
I can't really explain why, but looking at Avalonia's demonstration videos I don't like the UI controls in Avalonia.Themes.Default. They remind me of what you might end up with if you designed controls manually in e.g. a Flash app - it doesn't feel like a desktop app UI kit. It's a bit of a shame, because I strongly suspect the theme is easily overridden. It just needs a designer to make a consistent set of controls.
The themes can be easily overridden indeed. Here [0] is example of custom theme applied. For sure the project would really benefit from some pro designer help. https://rbmk.io/
I wonder if some design work could be crowd-funded.
Re: A GUI framework for C# console applications
#59Just curious: Why would someone do a TUI (text-based user interface) on a modern computer? Using C# implies that you're running on a device powerful enough for a traditional GUI. (And you really don't need much to run C#, just enough RAM / Disk for the framework and to handle the overhead of the garbage collector.)
Because the backbone of the modern computer's infrastructure is comprised of software running on headless systems accessed with remote shells.
Re: A GUI framework for C# console applications
#60The chess game screenshot sort of reminded me of the StarTrek game DEC used to leave running in their showrooms in the 70's and 80's: https://commons.wikimedia.org/wiki/File:Star_Trek_text_game.... I remember being kicked out by salesmen many times while sitting there playing. They seemed very annoyed that no adults "got it", but many kids did.
> They seemed very annoyed that no adults "got it", but many kids did. They were all lobeless creatures who couldn't spot an opportunity even if it hit them in the face. A true Ferengi would know how to handle this.