Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
m4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Ensemble Graphics Toolkit

EGT Sample Applications

Sample applications using and demonstrating the Ensemble Graphics Toolkit (EGT). These samples are mostly considered unstable and are for informational purposes.

  • animations - simple animations
  • drop - interactive Box2D integration example
  • gallery - navigate a gallery of images
  • icon - navigate EGT icons
  • infotain - basic infotainment system
  • layout - interactively work with layout properies of widgets
  • newsfeed - RSS feed reader
  • ragdoll - Box2D integration example
  • water - sprite animations
  • weather - download weather data and images

EGT Box2D Sample

EGT Gallery Sample

EGT Weather Sample

EGT Sprite Sample

Compiling

First compile and install libegt to a directory.

git clone --recursive https://github.com/linux4sam/egt.git
cd egt
./autogen.sh
./configure --prefix=/opt/egt
make
make install

Then, configure and build this samples project.

git clone --recursive https://github.com/linux4sam/egt-samples.git
cd egt-samples
./autogen.sh
CXXFLAGS="-I/opt/egt/include/" \
LDFLAGS="-L/opt/egt/lib/" \
PKG_CONFIG_PATH=/opt/egt/lib/pkgconfig \
./configure
make

To run an example, set the LD_LIBRARY_PATH environment variable to the library.

LD_LIBRARY_PATH=/opt/egt/lib ./example

License

Released under the terms of the Apache 2 license. See the COPYING file for more information.