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/WINDOW/aw_window_Xm.hxx

    r6383 r6666  
    7474    AW_buttons_struct *next; 
    7575}; 
    76  
    77 struct AW_config_struct { 
    78     AW_config_struct(const char *idi, AW_active maski, Widget w, const char *variable_namei, const char *variable_valuei, AW_config_struct *nexti); 
    79  
    80     const char       *id; 
    81     AW_active         mask; 
    82     Widget            widget; 
    83     const char       *variable_name; 
    84     const char       *variable_value; 
    85     AW_config_struct *next; 
    86 }; 
    87  
    8876 
    8977struct AW_option_struct { 
     
    248236    AW_buttons_struct *button_list; 
    249237 
    250     AW_config_struct *config_list; 
    251     AW_config_struct *last_config; 
    252  
    253238    AW_option_menu_struct *option_menu_list; 
    254239    AW_option_menu_struct *last_option_menu; 
     
    279264    GB_HASH *action_hash; 
    280265 
    281     AW_root_Motif() {}; 
    282     ~AW_root_Motif() {}; 
     266    AW_root_Motif(); 
     267    ~AW_root_Motif(); 
    283268 
    284269    Widget get_last_widget() const { return last_widget; }