Show
Ignore:
Timestamp:
21/05/10 19:44:17 (2 years ago)
Author:
westram
Message:
  • AW_root
    • ctor initializes AWAR subsystem
    • made more clear that AW_root is a singleton
    • call dtor atexit; unlink AWARs from prop-DB and free memory (AW_window instances and releated mem still remain)
    • close properties DB
    • renamed some functions
  • AW_awar
    • added dtor
  • added AWT_create_root (necessary to add properties DB to DB-browser)
  • removed AWT_open_properties (done inside AW_root-ctor now)
  • EDIT properties
    • detect existing properties before constructing AW_root
  • removed AW_config_struct
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/EDIT4/ED4_naligner.cxx

    r6422 r6666  
    151151} 
    152152 
    153 void ed_nalign_save(AW_window *aww) 
    154 { 
    155     AW_root *root = aww->get_root(); 
    156     root->save_default("naligner/aa"); 
    157 } 
    158  
    159153AW_window *create_expert_naligner_window(AW_root *root) 
    160154{ 
     
    168162    aws->create_button("CLOSE", "CLOSE", "C"); 
    169163 
    170     aws->at("save"); 
    171     aws->callback(ed_nalign_save); 
    172     aws->create_button("SAVE", "SAVE", "S"); 
    173  
    174164    aws->at("minw"); aws->create_input_field("naligner/minw", mwidth); 
    175165    aws->at("maxew"); aws->create_input_field("naligner/maxew", mwidth); 
     
    228218    aws->create_button("EXPERT_OPTIONS", "EXPERT2", "E"); 
    229219 
    230     aws->at("save"); 
    231     aws->callback(ed_nalign_save); 
    232     aws->create_button("SAAVE", "SAVE", "S"); 
    233  
    234220    return (AW_window *)aws; 
    235221}