Changeset 25370
- Timestamp:
- 05/08/08 07:07:41 (4 days ago)
- Files:
-
- haiku/trunk/src/apps/terminal/TermView.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
haiku/trunk/src/apps/terminal/TermView.cpp
r24663 r25370 24 24 #include <Clipboard.h> 25 25 #include <Debug.h> 26 #include <Dragger.h> 26 27 #include <Input.h> 27 28 #include <Message.h> … … 184 185 _InitObject(argc, argv); 185 186 SetTermSize(fTermRows, fTermColumns, true); 187 188 BRect rect(0, 0, 16, 16); 189 rect.OffsetTo(Bounds().right - rect.Width(), 190 Bounds().bottom - rect.Height()); 191 192 SetFlags(Flags() | B_DRAW_ON_CHILDREN | B_FOLLOW_ALL); 193 AddChild(new BDragger(rect, this, 194 B_FOLLOW_RIGHT|B_FOLLOW_BOTTOM, B_WILL_DRAW)); 186 195 } 187 196 … … 327 336 status = data->AddInt32("rows", (int32)fTermRows); 328 337 338 if (data->ReplaceString("class", "TermView") != B_OK) 339 data->AddString("class", "TermView"); 340 329 341 return status; 330 342 }
