-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added GraphicsPath::BezerControl1 and GraphicsPath::BezerControl2. Added String::trim. Added String::format. Added more information in ParseException. Renamed Timer::Action to Timer::Tick. Renamed MouseButtons with MouseButton. Replaced VACA_MID wiht VACA_CLAMP. Added more documentation (with some ALIASES to make more easy the documentation process). Modified the Vaca logo.
- Loading branch information
Showing
116 changed files
with
2,765 additions
and
841 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Doxyfile 1.5.6 | ||
|
||
@INCLUDE = Doxyfile | ||
|
||
GENERATE_HTMLHELP = YES | ||
CHM_FILE = ..\Vaca.chm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Doxyfile 1.5.6 | ||
|
||
@INCLUDE = Doxyfile | ||
|
||
EXTRACT_PRIVATE = YES | ||
INTERNAL_DOCS = YES | ||
GENERATE_HTMLHELP = YES | ||
CHM_FILE = ..\Vaca-private.chm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<div class="footer"> | ||
<a href="http://vaca.sourceforge.net/index.php?section=license">© 2005-2008 David A. Capello. All rights reserved.</a><br/> | ||
<!-- a href="http://vaca.sourceforge.net/index.php?section=license">© 2005-2008 David A. Capello. All rights reserved.</a><br/ --> | ||
<a href="page_license.html">© 2005-2008 David A. Capello. All rights reserved.</a><br/> | ||
Generated on $datetime for $projectname by <a href="http://www.doxygen.org/">doxygen</a> $doxygenversion | ||
</div></body></html> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
namespace Vaca { | ||
|
||
/** | ||
@page page_bind Bind | ||
In this section we talk about the Bind function that is defined in the | ||
Vaca namespace. | ||
@li @ref page_bind_whatis | ||
@li @ref page_bind_signals | ||
@li @ref page_bind_details | ||
@section page_bind_whatis What Bind is For? | ||
Bind adapts functions or methods so they can be connected to | ||
signals. Basically it creates a BindAdapter that converts the | ||
signature of one function to another signature. | ||
In this way, with Bind we can create an object (BindAdapter) that | ||
has the @c operator() overloaded in such a way that can be called | ||
with any parameters. | ||
For example, the following code: | ||
@code | ||
#include <iostream> | ||
#include "Vaca/Bind.h" | ||
int func(int a, int b) | ||
{ | ||
return a+b; | ||
} | ||
int main() | ||
{ | ||
int a = Vaca::Bind<int>(&func, 1, 2)(2.3, "Hello", 200); | ||
std::cout << a << std::endl; | ||
return 0; | ||
} | ||
@endcode | ||
Prints the value | ||
@code | ||
3 | ||
@endcode | ||
Why? There are two things in the example above: | ||
@li The @em Bind<int>(&func, 1, 2) call which creates a BindAdapter object. | ||
@li A call to the @em operator()(double, const char*, int) of that BindAdapter. | ||
Bind() creates the BindAdapter that allocates memory | ||
to hold the address of @em func and the values 1 and 2. | ||
Then, when the BindAdapter::operator() is used, the parameters | ||
are completelly ignored (@c 2.3, @c "Hello", and @c 200 in this | ||
case) and a call to @em func(1, 2) is made instead. | ||
Is the same to call BindAdapter::operator() without parameters or | ||
with any kind and number of parameters, they will be ignored. | ||
@section page_bind_signals How to Use Bind With Signals? | ||
@section page_bind_details Details About Bind | ||
*/ | ||
|
||
} |
Oops, something went wrong.