Skip to content

Commit

Permalink
Merge pull request #632 from gforney/master
Browse files Browse the repository at this point in the history
smokeview source: add output text when toggling timebar region with '…
  • Loading branch information
gforney committed Jun 21, 2018
2 parents 9c915d0 + 356e1cb commit 4d6d68c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Source/smokeview/callbacks.c
Original file line number Diff line number Diff line change
Expand Up @@ -2245,6 +2245,18 @@ void Keyboard(unsigned char key, int flag){
timebar_overlap++;
if (timebar_overlap > 2)timebar_overlap = 0;
UpdateTimebarOverlap();
printf("overlap time/colorbar region: ");
switch(timebar_overlap){
case 0:
printf("always\n");
break;
case 1:
printf("never\n");
break;
case 2:
printf("only if time/colorbar hidden\n");
break;
}
break;
// toggle_colorbar state
// 0 hidden
Expand Down

0 comments on commit 4d6d68c

Please sign in to comment.