#include <basegfx.h>
Public Member Functions | |
| collategraphicoperations (void) | |
| collategraphicoperations (int _x1, int _y1, int _x2, int _y2) | |
| ~collategraphicoperations () | |
| void | on (void) |
| void | off (void) |
Using SDL, the operations operated on a buffer that had to be copied to display memory in a seperate operation, which was costly. Updating the screen after every basic graphic operation was too expensive, so I wrote this class that suspended all updates until it was destructed.
Definition at line 406 of file basegfx.h.
| collategraphicoperations::collategraphicoperations | ( | void | ) |
Definition at line 1155 of file basegfx.cpp.
References agmp, and tgraphmodeparameters::directscreenaccess.
| collategraphicoperations::collategraphicoperations | ( | int | _x1, | |
| int | _y1, | |||
| int | _x2, | |||
| int | _y2 | |||
| ) |
Definition at line 1166 of file basegfx.cpp.
References agmp, and tgraphmodeparameters::directscreenaccess.
| collategraphicoperations::~collategraphicoperations | ( | ) |
Definition at line 1197 of file basegfx.cpp.
References agmp, copy2screen(), and tgraphmodeparameters::directscreenaccess.
| void collategraphicoperations::on | ( | void | ) |
Definition at line 1178 of file basegfx.cpp.
References agmp, and tgraphmodeparameters::directscreenaccess.
Referenced by tdialogbox::enablebutton().
| void collategraphicoperations::off | ( | void | ) |
Definition at line 1186 of file basegfx.cpp.
References agmp, copy2screen(), and tgraphmodeparameters::directscreenaccess.
Referenced by tdialogbox::enablebutton(), and tdialogbox::execbutton().
1.5.1