Changeset 1702 for trunk/MagicSoft/Cosy/gui/MGEmbeddedCanvas.cc
- Timestamp:
- 01/13/03 18:18:15 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/gui/MGEmbeddedCanvas.cc
r1690 r1702 52 52 } 53 53 54 // ------------------------------------------------------------------------ 55 // 56 // Map the subwindows, resize to its quadratic size, map the window itself 57 // and set it to Non-Editable. 58 // 54 59 void MGEmbeddedCanvas::InitCanvas() 55 60 { … … 71 76 // X11 Pixmap error) Update hangs the Gui system. 72 77 // 73 // Fixed: Using root 3.01/06 and doing the update from within the78 // Fixed: By using root 3.01/06 and doing the update from within the 74 79 // mainthread. 75 80 // … … 80 85 fModified = kFALSE; 81 86 } 87 88 // ------------------------------------------------------------------------ 89 // 90 // Set's the kNoContextMenu bit for all primitives in the embedded canvas 91 // and the canvas itself, so that no context menu is displayed. 92 // 93 void MGEmbeddedCanvas::SetNoContextMenu() 94 { 95 TList &list = *fCanvas->GetListOfPrimitives(); 96 list.ForEach(TObject, SetBit)(kNoContextMenu); 97 98 fCanvas->SetBit(kNoContextMenu); 99 }
Note:
See TracChangeset
for help on using the changeset viewer.