Changeset 8290 for branches

Show
Ignore:
Timestamp:
09/12/11 11:33:11 (6 months ago)
Author:
westram
Message:
  • minor changes
Location:
branches/e4fix/EDIT4
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/e4fix/EDIT4/ED4_base.cxx

    r8288 r8290  
    12821282 
    12831283ED4_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? 
    12851285        AW_pos x, y; 
    12861286        calc_world_coords(&x, &y); 
     
    13041304ED4_returncode ED4_base::clear_whole_background() { 
    13051305    // clear AW_MIDDLE_AREA 
    1306     if (current_device()) { 
     1306    if (current_device()) { // @@@ should clear be done for all windows? 
    13071307        current_device()->push_clip_scale(); 
    13081308        current_device()->clear(AW_ALL_DEVICES); 
     
    13131313} 
    13141314 
    1315 void ED4_base::draw_bb(int color) 
    1316 { 
     1315void ED4_base::draw_bb(int color) { 
    13171316    if (current_device()) { 
    13181317        current_device()->push_clip_scale(); 
  • branches/e4fix/EDIT4/ED4_no_class.cxx

    r8289 r8290  
    853853 
    854854void ED4_refresh_window(AW_window *aww) { 
    855     GB_transaction      dummy(GLOBAL_gb_main); // @@@ move down ? 
    856     ED4_LocalWinContext uses(aww); // @@@ move down ? 
    857  
    858855    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 
    860860        if (mainman->update_info.delete_requested) { 
    861861            mainman->delete_requested_children(); 
  • branches/e4fix/EDIT4/ED4_text_terminals.cxx

    r8201 r8290  
    271271        if ((iDisplayMode == PV_AA_CODE) || (iDisplayMode == PV_AA_BOX)) { 
    272272            AW_pos     width        = ED4_ROOT->font_group.get_width(ED4_G_HELIX); 
    273             const int  real_left    = index_range.start(); // @@@ inline 
     273            const int  real_left    = index_range.start(); 
    274274            const int  real_right   = index_range.end(); 
    275275            AW_pos     x2           = text_x + width*real_left;