demo/FTGLDemo.cpp


Log

Author Commit Date CI Message
sammy d6a2d851 2008-04-13T21:14:44 * Merged trunk commits [664], [665], [666], [667], [669], [670], [671], [672] and [684], by patrick and henry: + Added FTLayout.h, FTSimpleLayout.h and FTSimpleLayout.cpp to implement a framework for layout managers and an implementation of a simple layout manager. + Updated FTGLDemo to use the new FTSimpleLayout. Changes include: - Added a font origin to specify the location to render the font. - The default text is now blatantly plagarized from the back cover of the OGL red book. - The font size is much smaller. - Font metrics are rendered differently depending on the current layout manager. - The FTSimpleLayout alignment mode is now output with other font information. - The space bar no longer cycles through the fonts. The cursor up/down keys do. - The cursor left/right keys increment/decrement the size of the current font. - The page up/page down keys cycle through the layout managers. - The home/end keys increment and decrement the line length of a simple layout - The tab key cycles through the alignment modes of a simple layout. + Fixed a bug where the trackball rotation was applied after translation. + Minor reformatting and enabled texture fonts to be selected + Un-inlined private methods...because they are called by other private inlined methods + Minor formatting changes + Adding FTLayout
sammy 0b8db902 2008-04-12T22:41:39 * Fix an undefined operation in the FTGL demo.
sammy 7c358859 2008-04-04T12:43:38 * Generate a config.h file instead of passing all defines in the compiler command line. * "make install" now properly installs the includes, the documentation and the .pc file. * Generate a shared library.
sammy 4d10d9d0 2008-04-04T11:19:57 * Put standard system headers first because on Windows glut.h uses exit().
sammy a0614cd3 2008-04-04T09:20:40 * Fix an illegal cast of a static string to a char* (has to be char const*).
henry 7682e585 2004-09-18T11:25:09 Added demonstration of texture co-ordinate generation.
henry 2a980faa 2004-08-22T05:50:33 Removed unnecessary translates in the glyph rendering code.
henry 3f033ecf 2003-05-03T05:45:13 Changed MAC font path
marcelo 6fcea409 2003-01-20T13:58:28 Expect a fontfile on the command line, fall back to a default one on systems where a default is known -- else complain about the missing parameter. Come to think of it, I could use a PS font on IRIX. I'll look into that later.
henry 812361ee 2002-12-21T09:09:50 Changed int to float in glRasterPos
henry f31295ad 2002-12-17T09:10:33 Changed render to Render
henry 9e37db56 2002-12-17T08:18:23 Changed mac font path to test directory
henry 59259511 2002-12-16T08:27:39 Refactored FTFont to get rid of Open function
henry e59da05e 2002-12-05T06:47:30 Fixed path
henry a31de491 2002-12-02T06:32:46 Rewriting to make it more 'correct'
henry 5fdcdcb8 2002-11-28T08:01:38 Removed some redundant code
henry a289e4ec 2002-06-21T08:22:34 Added hash define for windows fonts
henry 1fc86b8b 2002-02-16T05:12:09 Renamed from *.c to *.cpp