LibUISharp is a library containing bindings for libui. Currently, LibUISharp is only built as a .NET Standard 2.0 library, but can also support other frameworks as-per community interest.
Please Note: libui is mid-alpha software, meaning the underlying API in LibUISharp is a work-in-progress. Any LibUISharp releases up until v0.4.0 are CI builds, and are not guaranteed to work.
Currently, I don't have the free time to make LibUISharp complete on my own. Because of this, I am looking for help from the community. Whether an issue, or a new feature, nothing is to small.
LibUISharp allows you to create native, cross-platform graphical user interface (GUI) applications containing various controls, such as a Button
or a TabControl
,
Check out the demos in the demos\
folder for examples.
- Button
- CheckBox
- ColorPicker
- ComboBox
- DateTimePicker
- FontPicker
- Form
- Grid
- GroupBox
- Label
- MenuStrip/MenuStripItem
- MessageBox
- StackPanel
- ProgressBar
- RadioButtonGroup
- Separator
- Slider
- SpinBox
- TextBox
- TabControl
- Window
- AttributedText
- Brush
- Context
- Font
- FontFeatures
- Path
- Surface
- TextAttribute
- TextLayout
LibUISharp supports 64-bit Windows, macOS, and Linux [source]:
Operating System | Version | Architecture | Prerequiusites |
---|---|---|---|
Windows Client Windows Server |
7 SP1+, 8.1, 10 Build 1607+ 2008 R2 SP1+ |
x64 x64 |
|
Mac OS X | 10.12+ | x64 | |
Red Hat Enterprise Linux CentOS Oracle Linux |
6, 7 7 7 |
x64 | GTK+ 3.10+ |
Fedora | 26, 27 | x64 | GTK+ 3.10+ |
Debian Ubuntu Linux Mint |
8.7+, 9 14.04, 16.04, 17.10, 18.04 17, 18 |
x64 | GTK+ 3.10+ |
openSUSE SUSE Enterprise Linux (SLES) |
42.3+ 12 SP2+ |
x64 | GTK+ 3.10+ |
LibUISharp is almost up-to-par with libui and is now available on NuGet!
Just add this line to you project file:
<PackageReference Include="LibUISharp" Version="0.4.0-build-*" />
LibUISharp is built with .NET Core, so you can build LibUISharp with either Visual Studio, Visual Studio Code, or just by running a couple simple commands. Use the steps below to get started!
Operating System | Prerequisites |
---|---|
Windows 7/8.1/10 | .NET Core 2.0 SDK Optional: Visual Studio 2017 (v15.6.x) Visual Studio Code (With the C# extension) |
Mac OS X | .NET Core 2.0 SDK Optional: Visual Studio Code (With the C# extension) |
Linux | .NET Core 2.0 SDK Optional: Visual Studio Code (With the C# extension) |
Ensure you have the latest version of Visual Studio 2017 installed with the .NET Core workload.
- Open the
LibUISharp.sln
file. - Then, navigate to the
Build>Build Solution
menu item.
This section is to-be-written. For now, refer to the next section.
Run the following command in a command-line interface in the root directory of this repository:
- `dotnet build LibUISharp.sln'
Contributing is as easy as filing an issue, fixing a bug, or suggesting a new feature.
Please see the CONTRIBUTING.md file for more information.