- Timestamp:
- 09/12/11 11:33:11 (6 months ago)
- Location:
- branches/e4fix/EDIT4
- Files:
-
- 3 modified
-
ED4_base.cxx (modified) (3 diffs)
-
ED4_no_class.cxx (modified) (1 diff)
-
ED4_text_terminals.cxx (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/e4fix/EDIT4/ED4_base.cxx
r8288 r8290 1282 1282 1283 1283 ED4_returncode ED4_base::clear_background(int color) { 1284 if (current_device()) { // @@@ should clear be done for all windows ?1284 if (current_device()) { // @@@ should clear be done for all windows? 1285 1285 AW_pos x, y; 1286 1286 calc_world_coords(&x, &y); … … 1304 1304 ED4_returncode ED4_base::clear_whole_background() { 1305 1305 // clear AW_MIDDLE_AREA 1306 if (current_device()) { 1306 if (current_device()) { // @@@ should clear be done for all windows? 1307 1307 current_device()->push_clip_scale(); 1308 1308 current_device()->clear(AW_ALL_DEVICES); … … 1313 1313 } 1314 1314 1315 void ED4_base::draw_bb(int color) 1316 { 1315 void ED4_base::draw_bb(int color) { 1317 1316 if (current_device()) { 1318 1317 current_device()->push_clip_scale(); -
branches/e4fix/EDIT4/ED4_no_class.cxx
r8289 r8290 853 853 854 854 void ED4_refresh_window(AW_window *aww) { 855 GB_transaction dummy(GLOBAL_gb_main); // @@@ move down ?856 ED4_LocalWinContext uses(aww); // @@@ move down ?857 858 855 ED4_main_manager *mainman = ED4_ROOT->main_manager; 859 if (mainman) { // avoids a crash durin startup 856 if (mainman) { // during startup we have no mainman 857 GB_transaction ta(GLOBAL_gb_main); 858 ED4_LocalWinContext uses(aww); 859 860 860 if (mainman->update_info.delete_requested) { 861 861 mainman->delete_requested_children(); -
branches/e4fix/EDIT4/ED4_text_terminals.cxx
r8201 r8290 271 271 if ((iDisplayMode == PV_AA_CODE) || (iDisplayMode == PV_AA_BOX)) { 272 272 AW_pos width = ED4_ROOT->font_group.get_width(ED4_G_HELIX); 273 const int real_left = index_range.start(); // @@@ inline273 const int real_left = index_range.start(); 274 274 const int real_right = index_range.end(); 275 275 AW_pos x2 = text_x + width*real_left;
