Skip to content

Commit

Permalink
tvdemo: move heap view to the status bar
Browse files Browse the repository at this point in the history
This is how the original design was. However, the heap view had been moved to the menu bar in e7f808f due to a misunderstanding of how views react to resize events.
  • Loading branch information
magiblot committed Oct 9, 2023
1 parent 437f9a0 commit 3b25264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tvdemo/tvdemo1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ TVDemo::TVDemo( int argc, char **argv ) :
insert(clock);

r = getExtent(); // Create the heap view.
r.a.x = r.b.x - 23; r.b.x = r.a.x + 13; r.b.y = r.a.y + 1;
r.a.x = r.b.x - 13; r.a.y = r.b.y - 1;
heap = new THeapView( r );
heap->growMode = gfGrowLoX | gfGrowHiX;
heap->growMode = gfGrowAll;
insert(heap);

while (--argc > 0) // Display files specified
Expand Down

0 comments on commit 3b25264

Please sign in to comment.