aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* utils/rectangle: removed external constructors and added helperAlexander Sulfrian2013-01-131-14/+0
| | | | | constructors that generate a rectangle from GLint[4] or FTBBox are now helper functions to remove the external dependencies from the helper class
* utils/point: addition/subtraction should only be possible with same typeAlexander Sulfrian2013-01-131-4/+4
|
* utils/rectangle: could get top/bottom/left/right coordinates from RectangleAlexander Sulfrian2013-01-131-8/+19
|
* utils/rectangle: added ctor to create a Rectange from a FTBoxAlexander Sulfrian2013-01-131-0/+8
|
* utils/math: added abs/min/max as static template functionsAlexander Sulfrian2013-01-131-0/+69
|
* utils/rectangle: the points should be modifiableAlexander Sulfrian2013-01-131-2/+2
|
* utils/dimension: added template for types of the metricsAlexander Sulfrian2013-01-053-69/+41
|
* utils/rectangle: added function to intersect two rectanglesAlexander Sulfrian2013-01-051-0/+23
|
* utils/rectangle: added shortcut for accessing the position of a rectangleAlexander Sulfrian2013-01-051-0/+10
|
* utils/rectangle: added constructor for array of valuesAlexander Sulfrian2013-01-051-0/+6
| | | | | the new constructor is used to make a rectangle object from the array of values returned from glGet(GL_SCISSOR_BOX)
* utils/point: added possibility to change coordsAlexander Sulfrian2013-01-052-0/+15
|
* utils: templatized point, point_3d and rectangleAlexander Sulfrian2013-01-056-202/+128
| | | | | added template parameter for the geometry helper classes, moved function definitions to hpp file to support templates
* utils: reformated contructor callsAlexander Sulfrian2013-01-051-2/+4
|
* utils: added assginment operator for pointAlexander Sulfrian2013-01-052-0/+8
|
* fixed include pathsAlexander Sulfrian2013-01-051-2/+2
|
* base: moved Image and Texture to more appropriate locationsAlexander Sulfrian2013-01-052-0/+154
|
* changed all wstring/wchar_t to string/charAlexander Sulfrian2013-01-054-27/+27
|
* changed from SDL rendering to OpenGLAlexander Sulfrian2013-01-054-10/+29
| | | | draw, repaint methods do not have the SDL_Surface* parameter anymore
* new file classes for text and binary filesAlexander Sulfrian2013-01-055-12/+197
|
* added Point, Point3D, Dimension, Rectangle, RgbColor and Texture classesAlexander Sulfrian2013-01-0510-0/+510
|
* changed to boost::filesystem::wifstream to support wpathAlexander Sulfrian2013-01-052-3/+11
| | | | | wifstream from boost could be created with a boost::filesystem::wpath to support Unicode paths
* make string constructor argument a constant referenceAlexander Sulfrian2013-01-052-2/+2
|
* converted all strings and chars to wstrings and wchar_tsAlexander Sulfrian2013-01-054-17/+24
| | | | | | | all strings with displayable content are now the wide strings for proper unicode handling added boost dependency for proper reading unicode from files
* added custom exception classes for better catching them (gotta catch 'em all)Alexander Sulfrian2013-01-052-0/+93
|
* added string constructor and operator= to locale independent float classAlexander Sulfrian2013-01-052-11/+22
|
* added class for locale independent parsing of floatAlexander Sulfrian2013-01-052-0/+140
| | | | parsing of float with . or , independent of the current locale
* added wrapper for easily getting istreams from files with proper cleanupAlexander Sulfrian2013-01-052-0/+92