reference clanlib,pixellight,orge and so on.