Files Classes Functions Hierarchy
#include <gobjbase.h>
Public Member Functions | |
| gobjGlobal (gobjContainer *const globalnew_) | |
| Push the new global graphics stream. | |
| ~gobjGlobal () | |
| Pop and return gobj::global to its previous state. | |
gobjContainer x; ... gobjGlobal g(&x); ... //Resource released when g out of scope.
Definition at line 75 of file gobjbase.h.
| gobjGlobal::gobjGlobal | ( | gobjContainer *const | globalnew_ | ) |
Push the new global graphics stream.
Definition at line 155 of file gobj.cpp.
References gobjContainer::globalpush().
00156 : globalnew(globalnew_) 00157 { 00158 assert(globalnew); 00159 globalnew->globalpush(); 00160 }
| gobjGlobal::~gobjGlobal | ( | ) |
Pop and return gobj::global to its previous state.
Definition at line 162 of file gobj.cpp.
References gobjContainer::globalpop().
00163 { 00164 globalnew->globalpop(); 00165 }
1.5.8