┌─────────────┐
		│ BGTK is the │
		│ simplest    │
		│ toolkit for │
		│ buffers.    │
		│             │
		│  ┌───────┐  │
		│  │ HELLO │  │
		│  └───────┘  │
		└─────────────┘

BGTK: Brian's Graphical Tool Kit

BGTK is a simple toolkit that directly handles
framebuffers. It was created for BGCE, so it makes
it very easy to send/receive events and create
widgets and components.


Overview

BGTK offers the Widget abstraction and some basic
helper functions. The idea is to be a "declarative"
library, so it is intuitive to use.

To keep track of the develoment check the commit log
on the feed.


Configuration

BGTK is configured via ~/.config/bgtk.conf.
Colors use #RRGGBB or #RRGGBBAA format.
Example with all options and their defaults:

	[background]
	type = color
	color = #AAAAAA
	# Or use an image:
	# type = image
	# path = /path/to/wallpaper.png
	# mode = tiled

	[theme]
	background = #AAAAAA
	button = #888888
	button_text = #000000
	button_border_size = 1
	input_border_size = 1
	frame_border_size = 4
	frame_border_color = #FFFFFF

	[font]
	path = /usr/share/fonts/.../DejaVuSans.ttf
	size = 12


Build Instructions

First make sure all dependencies are met:
- freetype2
- bgce

Then run:

	git clone https://terminal.pink/bgtk
	cd bgtk
	make
	./app   # run sample app


Goals

- Minimal, declarative widget library
- Few external dependencies
- Educational reference for framebuffer-based
  compositing


License

BSD 2-clause license.