Commit Graph

34 Commits

Author SHA1 Message Date
Marco Antognini
0df97b4813 Updated platform-specific handle documentation 2015-11-06 18:24:42 +01:00
Jan Haller
9c5c750e60 Added new methods to set uniforms in sf::Shader
Implements a new design for the shader uniform API.
* Added Shader::setUniform() and Shader::setUniformArray() overloads for the following types:
  -> scalars: float, int, bool
  -> vectors: 2D, 3D, 4D
  -> matrices: 3x3, 4x4
  -> arrays of basic types
  -> samplers (sf::Texture)
  -> conversions for SFML types (sf::Transform, sf::Color)
* Added sf::Glsl namespace with GLSL-equivalent types
* Deprecated Shader::setParameter() overloads

Other related changes:
* Refactored sf::Shader internals to avoid code duplication
* Improved documentation
* Added SFML_DEPRECATED macro to Doxyfile
* Defined _SCL_SECURE_NO_WARNINGS to disable std::copy() warnings on MSVC
2015-10-21 10:29:07 +02:00
binary1248
e80bf0ba92 Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
Oleh Prypin
01d5d1b463 Replaced non-ASCII symbols with equivalents 2015-03-10 02:04:02 +02:00
Mario Liebisch
6ca9f66a06 Fixed HTML Help Workshop not being found on 64-bit Windows 2015-02-24 13:59:06 +01:00
Marco Antognini
b0d6c2bea9 Added version in doc header 2014-12-27 20:57:57 +01:00
Lukas Dürrenberger
8b7ac65aa3 Fixed the namespace and class icon issue and updated the Doxygen file. 2014-12-27 20:57:55 +01:00
Marco Antognini
fc850ed99f Updated doc version and removed trailing spaces 2014-12-07 10:35:42 +01:00
Stefan Schindler
f24ca9a840 Source code changes.
* Changed newlines to \n.
* Removed whitespace before colons.
* Fixed several alignments.
2014-10-06 01:18:47 +02:00
Jan Haller
59e920cf10 Fixed several Doxygen warnings, limited input to *.hpp files 2014-03-29 12:42:13 +01:00
Laurent Gomila
9b0ed300b5 Made compiler and OS variable names much clearer in CMake files 2013-10-09 08:01:10 +02:00
Laurent Gomila
f3d2129f9f Improved the API documentation stylesheet 2013-01-30 21:35:34 +01:00
Laurent Gomila
288bc87d3a Updated the main page of the API documentation 2012-12-02 23:13:31 +01:00
Laurent Gomila
d7b4e26dc6 Removed the MSCGEN detection -- in fact it was not used 2012-06-17 13:09:25 +02:00
Mario Liebisch
777d4d30f8 Fixed alternative name lookup for mscgen in CMake. 2012-06-17 11:18:38 +02:00
Mario Liebisch
617c3b7759 Made CMake look for mscgen
Before the path in doxyfile was static and set to
"D:/Programmes/mscgen", which obviously won't work on most systems. Now
CMake tries to find the tool. If this fails, the path is set empty to
let Doxygen look for it inside PATH.
2012-06-16 20:00:18 +02:00
Laurent Gomila
6ea8ccd133 The API documentation is now built by default with all other targets 2012-04-06 22:49:11 +02:00
Laurent Gomila
14ac411542 Changed the naming convention for public member variables/functions and free functions (using lowerCase instead of UpperCase) 2012-03-11 19:10:37 +01:00
Laurent Gomila
bb7cf47d69 Updated the code of the documentation's main page 2012-01-20 07:53:33 +01:00
Martin Foot
13986b2a3b Fix CMake variables to allow adding SFML as a dependency. 2011-08-07 14:33:42 +01:00
Laurent Gomila
b7184640d8 Updated the main page of the API documentation 2011-08-06 23:15:48 +02:00
Laurent Gomila
e065b95db6 Fixed links in the documentation main page 2011-06-13 18:07:01 +02:00
Laurent Gomila
67455e1a16 Updated the code example of the documentation main page 2011-05-11 23:15:58 +02:00
mantognini
90a61a6048 update cmake for better doxygen search
remove duplicated headers - update cmake accordingly



git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1716 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 22:06:17 +00:00
LaurentGom
a991fe8e4d Added support for the CMake build system
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1550 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-19 15:59:24 +00:00
LaurentGom
42173d6d04 Minor fix to the doxygen file
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1541 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-31 11:50:11 +00:00
LaurentGom
ef8a2700fe FS#162 - Add a function to retrieve the system specific handle of a window
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1530 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-15 21:13:55 +00:00
LaurentGom
7ff4cb5ca4 Some minor corrections in API documentation and parameters names
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1526 4e206d99-4929-0410-ac5d-dfc041789085
2010-06-11 22:08:49 +00:00
LaurentGom
280ce139d6 Some minor corrections in API documentation and parameters names
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1525 4e206d99-4929-0410-ac5d-dfc041789085
2010-06-11 21:52:51 +00:00
LaurentGom
3a17e35cac Created DLL build configurations for samples in Code::Blocks and Visual C++ project files
Removed unused stuff from extlibs headers
Removed source files from generated API documentation
Removed the qt and wxwidgets samples
Fixed minor warnings in Packet.cpp

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1499 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-08 16:18:38 +00:00
LaurentGom
7a8cc0c76a Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1201 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-14 08:02:57 +00:00
LaurentGom
3cfbc8409b Removed some privates files from the documentation
Added sf::Event::EventType::Count

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1200 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-14 07:31:01 +00:00
LaurentGom
9c959777d3 Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1171 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 09:59:21 +00:00
LaurentGom
461a82194d Moved documentation build files from root to doc\build
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1164 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-10 15:06:10 +00:00