- Timestamp:
- 27/01/12 12:53:18 (4 months ago)
- Location:
- branches/e4fix/EDIT4
- Files:
-
- 3 modified
-
ED4_nds.cxx (modified) (1 diff)
-
ED4_no_class.cxx (modified) (1 diff)
-
ed4_class.hxx (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/e4fix/EDIT4/ED4_nds.cxx
r8338 r8344 39 39 } 40 40 41 static void NDS_changed(AW_root *root, AW_CL refresh) 42 { 41 static void NDS_changed(AW_root *root, AW_CL refresh) { 43 42 int toggle = root->awar(ED4_AWAR_NDS_SELECT)->read_int(); 43 44 44 char buf[256]; 45 46 45 sprintf(buf, ED4_AWAR_NDS_ACI_TEMPLATE, toggle); 47 if (NDS_command) { 48 free(NDS_command); 49 } 50 NDS_command = root->awar(buf)->read_string(); 46 freeset(NDS_command, root->awar(buf)->read_string()); 51 47 52 48 sprintf(buf, ED4_AWAR_NDS_WIDTH_TEMPLATE, toggle); 53 49 NDS_width = root->awar(buf)->read_int(); 54 50 55 if ( int(refresh)) {51 if (refresh) { 56 52 ED4_calc_terminal_extentions(); 57 53 ED4_ROOT->main_manager->route_down_hierarchy(update_terminal_extension).expect_no_error(); 58 ED4_ gc_is_modified_cb(current_aww(), 0, 0);54 ED4_ROOT->main_manager->resize_requested_by_child(); 59 55 } 60 56 } -
branches/e4fix/EDIT4/ED4_no_class.cxx
r8343 r8344 791 791 free(seq); 792 792 } 793 }794 795 void ED4_gc_is_modified_cb(AW_window *aww, AW_CL cd1, AW_CL cd2) {796 ED4_LocalWinContext uses(aww);797 798 ED4_resize_cb(aww, cd1, cd2);799 ED4_expose_cb(aww, cd1, cd2);800 793 } 801 794 -
branches/e4fix/EDIT4/ed4_class.hxx
r8343 r8344 2191 2191 void ED4_remote_event(AW_event *faked_event); 2192 2192 2193 void ED4_gc_is_modified_cb(AW_window *aww, AW_CL cd1, AW_CL cd2);2194 2193 void ED4_quit(AW_window *aww, AW_CL cd1, AW_CL cd2); 2195 2194
