<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transistional//EN"><html><head><title>OpenLayer Offline Manual</title><style type="text/css" media="all">@import "../CrystalStyle.css";</style><body bgcolor="FFFFFF" ><div align="center" style="pagestyle"><table width="60%"><tr><td><div class="parentLinks"><a href="../index.html">OpenLayer</a> | <a href="../Blenders.html">Blenders</a> | <a href="../Blenders/Push.html">Push</a></div><br><div class="BigHeader">Push</div><br><div class=""><font color="#775500">Advanced function</font><br><br><div class="Surrounded"><table><tr valign="top"><td align="right"><div class="FuncDef"><strong><font color="#777733">inline</font> <font color="#777733">static</font> <font color="#777733">void</font> <a href="../Blenders/Push.html"><font color="#0000CC">Push</font></a>()
<br></strong></div></td></tr></table>
<br>Pushes the active blender to the stack (though still keeping it active)
<br></div>
<br>The blender can can later be restored from the stack by calling the Pop-method.</div><br><div class="MediumHeader">Examples</div><br><div class="Code"><font color="#999922">// Push the old blender to the stack and select a new one //</font>
<br><a href="../Blenders.html"><font color="#0000CC">Blenders</font></a>::<a href="../Blenders/Push.html"><font color="#0000CC">Push</font></a>();
<br><a href="../Blenders.html"><font color="#0000CC">Blenders</font></a>::<a href="../Blenders/Set.html"><font color="#0000CC">Set</font></a>(...);
<br>
<br><font color="#999922">// Do some drawing here...
<br>
<br>//</font> Restore the old blender //
<br><a href="../Blenders.html"><font color="#0000CC">Blenders</font></a>::<a href="../Blenders/Pop.html"><font color="#0000CC">Pop</font></a>();</div><div class=""><br><br><div class="MediumHeader">Other functions of the class <a href="../Blenders.html"><font color="#0000CC">Blenders</font></a></div><div class="Surrounded"><table size="100%" cellpadding="0" cellspacing="0"><tr><td halign="center" class="funclist"><a href="../Blenders/Set.html">Set</a></td><td width="65%" halign="center"><div class="smalltext">Selects the specified blender as the active color blender</div></td></tr><tr><td colspan="2"><br><div class="SmallHeader"><font color="#775500">Advanced functions</font></div><br></td></tr><tr><td halign="center" class="funclist"><a href="../Blenders/Push.html">Push</a></td><td width="65%" halign="center"><div class="smalltext">Pushes the active blender to the stack</div></td></tr><tr><td halign="center" class="funclist"><a href="../Blenders/Pop.html">Pop</a></td><td width="65%" halign="center"><div class="smalltext">Pops the most recently stored blender from the stack</div></td></tr></table></div><br><div class=""><a href="../index.html">Back to the main page of the manual</a></div><br>Questions about Push? Click <a href="http://crystalstorm.ath.cx/index.php?lan=en&page=CreateFeedback&subject=Push">here.</a></div></td></tr></table></body></html>
|