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

gtexture.C

Go to the documentation of this file.
00001 /*****************************************************************
00002  * gtexture.C
00003  *****************************************************************/
00004 
00005 
00006 #include "gtexture.H"
00007 #include "mlib/points.H"
00008 
00009 Cstr_ptr GTexture::_type_name("GTEXTURE");
00010 Cstr_ptr GTexture::_begin_tag(str_ptr("#BEGIN ") + _type_name + str_ptr("\n"));
00011 Cstr_ptr GTexture::_end_tag  (str_ptr("\n#END ") + _type_name + str_ptr("\n"));
00012 
00013 // GTexture is not serialized into jot files, so an empty TAGlist is created
00014 CTAGlist &
00015 GTexture::tags() const
00016 {
00017    static TAGlist* basic_tags = 0;
00018 
00019    if (!basic_tags) {
00020       basic_tags = new TAGlist(0);
00021    }
00022    return *basic_tags;
00023 }
00024 
00025 GTexture::GTexture(Patch* p, StripCB* cb) :
00026    _patch(p),
00027    _cb(cb),
00028    _ctrl(0)
00029 {
00030    changed(); 
00031 }
00032 
00033 /* end of file gtexture.C */

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