kc3-lang/ftgl/demo/FTGLDemo.cpp

Branch :


Log

Author Commit Date CI Message
1f4a94f8 2008-04-29 14:39:28 * Since the MIT license is LGPL-compatible, there is no real point in shipping FTGL under a dual license. Consequently removing LGPL references from the code, in agreement with Sean.
c96146ed 2008-04-29 06:44:51 * Moved header files that are not required by library clients into src/ so that they do not get installed. * Created an ftgl.h header that allows clients to #include <FTGL/ftgl.h> and be done with it.
aaf4b59d 2008-04-27 09:52:41 * Various fixes and improvements to the demo, by Eric Beets and myself.
75c73099 2008-04-23 21:23:59 * Fix most compilation warnings. Most frequent causes: shadow declarations and const qualifier disappearances.
0007128c 2008-04-23 12:12:51 * Cosmetic changes to FTGLDemo: bigger font, layout-compliant text, filtered textures.
26da265c 2008-04-23 09:51:14 * Check for <GL/glut.h> and <GLUT/glut.h> during the configure step instead of guessing their location at build time.
9ae936f3 2008-04-22 23:47:24 * C bindings for the FTLayout interface. Code by Eric Beets.
15d3cad5 2008-04-22 17:06:49 * Fix FTTextureGlyph rendering offset so that it works with layouts.
c4650043 2008-04-22 16:45:30 * Fix the demo program so that it uses the FTTextureFont class.
123c5972 2008-04-22 16:42:55 * Slightly tune the demo to show the new FTGL::RENDER_FRONT and RENDER_SIDE features.
4c6f87b9 2008-04-21 21:48:37 * Fine tune the demo so that the extrude mode shows the outset results.
952ab5dc 2008-04-14 14:22:18 * Made the FTGLDemo and FTGLMFontDemo coding style consistent with the rest of the code.
87609beb 2008-04-13 22:13:44 * Added copyright and license information to recently merged files.
d6a2d851 2008-04-13 21: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
0b8db902 2008-04-12 22:41:39 * Fix an undefined operation in the FTGL demo.
7c358859 2008-04-04 12: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.
4d10d9d0 2008-04-04 11:19:57 * Put standard system headers first because on Windows glut.h uses exit().
a0614cd3 2008-04-04 09:20:40 * Fix an illegal cast of a static string to a char* (has to be char const*).
7682e585 2004-09-18 11:25:09 Added demonstration of texture co-ordinate generation.
2a980faa 2004-08-22 05:50:33 Removed unnecessary translates in the glyph rendering code.
3f033ecf 2003-05-03 05:45:13 Changed MAC font path
112ded61 2003-04-06 23:47:27 Minor reformatting and enabled texture fonts to be selected
616a1574 2003-04-06 21:56:04 Fixed a bug where the trackball rotation was applied after translation.
d70b194d 2003-04-06 20:51:38 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.
ac4c33f8 2003-04-06 20:36:43 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 alignement - The space bar no longer cycles through the fonts. The cursor up/down keys
6fcea409 2003-01-20 13: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.
812361ee 2002-12-21 09:09:50 Changed int to float in glRasterPos
f31295ad 2002-12-17 09:10:33 Changed render to Render
9e37db56 2002-12-17 08:18:23 Changed mac font path to test directory
59259511 2002-12-16 08:27:39 Refactored FTFont to get rid of Open function
e59da05e 2002-12-05 06:47:30 Fixed path
a31de491 2002-12-02 06:32:46 Rewriting to make it more 'correct'
5fdcdcb8 2002-11-28 08:01:38 Removed some redundant code
a289e4ec 2002-06-21 08:22:34 Added hash define for windows fonts
1fc86b8b 2002-02-16 05:12:09 Renamed from *.c to *.cpp