Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
Go to file
Pietro Gagliardi 13fa2e213d Took scrolling into account on uiArea with drawing (untested) and mouse events (tested). This is the preliminary work for moving scrolling from pixels to DIPs. But first, a test of scrolled drawing. 2015-12-18 22:06:48 -05:00
_wip More NSTextView work. 2015-12-08 21:09:23 -05:00
_wiptable Forgot a file in the uiTable removal. 2015-11-17 13:51:14 -05:00
build Settled the OS X rpath stuff. 2015-12-13 02:28:51 -05:00
common Set up the new Unix build. Now to do the OS X build. 2015-12-11 18:37:15 -05:00
darwin Re-established the OS X build. 2015-12-11 18:58:27 -05:00
doc Started a discussion of the drawing model. 2015-09-16 13:57:14 -04:00
examples Migrated the histogram example to the new uiArea system. 2015-12-17 21:26:55 -05:00
haiku Re-added the Haiku makefiles. 2015-12-11 20:26:26 -05:00
test More Windows uiArea migration and compiler error fixes. Now to figure out what happened with GetSize again... 2015-12-18 14:21:35 -05:00
unix Added a test of mouse events in a scrolled uiArea. Removed some dead code from the GTK+ uiArea. Now to make the changes to the Windows and OS X backends! 2015-12-17 21:21:29 -05:00
windows Took scrolling into account on uiArea with drawing (untested) and mouse events (tested). This is the preliminary work for moving scrolling from pixels to DIPs. But first, a test of scrolled drawing. 2015-12-18 22:06:48 -05:00
GNUmakefile Set up the new Unix build. Now to do the OS X build. 2015-12-11 18:37:15 -05:00
LICENSE Split into a new repository and added a LICENSE. 2015-04-16 20:31:11 -04:00
README.md More MinGW stuff. 2015-12-09 15:36:56 -05:00
TODO.md More TODOs. 2015-12-11 18:39:04 -05:00
buildnotes Re-established the test build. 2015-12-11 20:04:31 -05:00
ui.h Fixed the ID2D1RenderTarget::GetSize() madness a *SECOND* time. Urgh. Also removed a now-irrelevant TODO. 2015-12-18 15:04:37 -05:00
ui_darwin.h Added C++ extern guards. 2015-11-16 10:55:44 -05:00
ui_haiku.hpp Wrote up the event handling code for Haiku. 2015-11-20 11:45:04 -05:00
ui_unix.h Entering Valhalla. 2015-11-17 10:46:58 -05:00
ui_windows.h Added C++ extern guards. 2015-11-16 10:55:44 -05:00

README.md

libui: a portable GUI library for C

This README is being written.

Runtime Requirements

  • Windows: Windows Vista SP2 with Platform Update or newer
  • Unix: GTK+ 3.4 or newer
  • Mac OS X: OS X 10.7 or newer

Build Requirements

  • All platforms:
    • GNU make 3.81 or newer (Xcode comes with this; on Windows you will need to get it yourself)
  • Windows: Microsoft Visual Studio 2013 or newer
  • Unix: nothing specific
  • Mac OS X: nothing specific, so long as you can build Cocoa programs

(TODO write some notes on make variables and cross-compiling)

Documentation

Needs to be written. Consult ui.h and the examples for details for now.

Screenshots

From examples/controlgallery:

Windows

Unix

OS X