Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

paper_effect_base.C

Go to the documentation of this file.
00001 #include "paper_effect_base.H"
00002 
00003 /////////////////////////////////////
00004 // Static Variable Initialization
00005 /////////////////////////////////////
00006 ARRAY<PaperEffectObs*>  PaperEffectBase::_obs;
00007 
00008 str_ptr                 PaperEffectBase::_paper_tex;
00009 str_ptr                 PaperEffectBase::_paper_filename = str_ptr("");
00010 
00011 bool                    PaperEffectBase::_delayed_activate = false;
00012 bool                    PaperEffectBase::_delayed_activate_state = false;
00013 bool                    PaperEffectBase::_is_inited = false;
00014 bool                    PaperEffectBase::_is_supported = false;
00015 bool                    PaperEffectBase::_is_active = false;
00016 
00017 float                   PaperEffectBase::_brig = 0.5f;
00018 float                   PaperEffectBase::_cont = 0.5f;
00019 
00020 ////////////////////////////////////////////////////////////////////////////////
00021 // PaperEffectBase Methods
00022 ////////////////////////////////////////////////////////////////////////////////
00023 
00024 /////////////////////////////////////
00025 // notify_paper_changed()
00026 /////////////////////////////////////
00027 
00028 void
00029 PaperEffectBase::notify_paper_changed()
00030 {
00031    for (int i=0; i<_obs.num(); i++)
00032       _obs[i]->paper_changed();
00033 }
00034 
00035 /////////////////////////////////////
00036 // notify_usage_toggled()
00037 /////////////////////////////////////
00038 
00039 void
00040 PaperEffectBase::notify_usage_toggled()
00041 {
00042    for (int i=0; i<_obs.num(); i++)
00043       _obs[i]->usage_changed();
00044 }
00045 
00046 /* end of file paper_effect_base.C */
00047 

Generated on Mon Sep 18 11:39:32 2006 for jot by  doxygen 1.4.4