Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This is my canvas test application for X11 written in c++
C++
tree: 36d9c983b4

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Makefile
README.markdown
button-active.png
button-close.png
button-hover.png
button-normal.png
canvas.cc
canvas.hh
canvas_button_image.cc
canvas_button_image.hh
canvas_button_x11.cc
canvas_button_x11.hh
canvas_image.cc
canvas_image.hh
canvas_item.cc
canvas_item.hh
canvas_rect.cc
canvas_rect.hh
events.cc
events.hh
linkedlist.cc
linkedlist.hh
main.cc
superman.gif

README.markdown

Canvas Test

Note: There is no shame in old bad code. So I'm open sourcing this even though it's not useful for anyone.

What is (was) it

I used to play around with X11 programming a lot. I tried my hand at making a canvas library that would allow me to build UI widgets that I could use to make applications. I was a terrible programmer who makes terrible decisions, so I decided to write it in C++.

This was written a long time ago, it's totally unsupported, unusable, without merit, and laughably implemented.

As of 02/27/2010, it compiles and runs on snow leopard. I'm 100% sure it would still work on Linux as well.

Prerequisites

You'll need an c++ compiler, x11 libraries and imlib2. On linux, you should have all of those... you may need to install imlib2. On a Mac, install the x11 SDK (from the xcode stuff) and then use ports or something to install imlib2 sudo port install imlib2

install

There is no install. Run make then ./canvastest

Screenshots

Shot 1

Shot 2

Author

Made a long time ago by Ted Roden (@tedroden)

Something went wrong with that request. Please try again.