On Sun, 13 Nov 2016, at 04:38, Andrew Lowe wrote: > Hi all, > I teach, amongst other things, C programming to 1st year Engineering > students here at Curtin Uni in Australia. I've created a nice little > portable environment with Msys2, conemu2, clang, notepad++ etc, which > fits on a usb and my students are happy little vegemites[1] > > I now want to teach them a little bit, emphasis on the little, of > graphics. Does anyone know of a very simple graphics library that is a > part of Msys2? > > My graphics experience is with OpenGL and CAD systems so I'm totally > unfamiliar with the "entry level". I'm looking for something that has a > simple function call to open a window. A simple function to draw a line, > drawLine(context, startX, startY, endX, endY);, same for a circle, > setting colours and line styles - as I said, simple. > > It doesn't matter really if it's not in Msys2, I can "inject" it into > the environment if need be. > > Any thoughts, greatly appreciated, > > Andrew > > > > > [1] http://tinyurl.com/zdd8sxb
Hi Andrew, I've written one myself, basically because I was teaching C++ and SDL is a C library. It's 2D only, also includes sound, and should work just fine with MSYS2: https://github.com/jhasse/jngl Maybe give it a try, I can help you out with any questions you might have :) Also have a look at SFML: Greetings Jan ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Msys2-users mailing list Msys2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msys2-users