UCC Code Repository

Log of /branches/playback-branch-rvvs89/UWAPlugins/PlaybackPlugin/Source/PlaybackDialog.cs

Parent Directory Parent Directory | Revision Log Revision Log

Sticky Revision:
(Current path doesn't exist after revision 61)

Revision 61 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 30 03:03:02 2010 UTC (11 years, 2 months ago) by rvvs89
File length: 753 byte(s)
Diff to previous 34
Implemented playback.
Timer resolution and playback bar resolution is currently hardcoded into PlaybackControl.
Removed some listeners from PlaybackControl that were not necessary.
Print current time and time limits to status bar.
Update current position of the playback bar is altered by the user.
If current state is Paused and Rewind or FastForward is pressed, then step back/forward one unit of STEP_SIZE.
Added FollowButton that causes the map to follow playback when checked.
Added FollowIcon for FollowButton.
Increased size of PlaybackDialog to accomodate the new button.
If LoopButton is checked, move back to the startTime if the currentTime exceeds endTime.
If LoopButton is not checked, go to stopped state if the end is reached.
If PlayButton is pressed and currentTime is equal to endTime, move it back to startTime.
If no section of track has been selected, use the entire track.
If a section of track has been selected, use that as the start and end limits for playback.
If a single point on the track has been selected, start playback from that point.
Display markers at the start and end limits.
Don't display markers at the start and end limits if they coincide with the start and end of the track.
On form closing, remove ST event listeners, restore previous selection of track, disable playback timer, hide map markers and dispose forms.
Moved icons that are not compiled in to the executable to a separate directory, Data (start.png, stop.png).
Restructured Plugin to allow other source files to reference it.
Attempt to find icons in the plugin data directory using references from Plugin.
Added PlaybackRouteControlSelection, a simple implementation of IRouteControlSelection to allow PlaybackPlugin to alter the selected area of track thereby allowing playback.
Added a hack to PlaybackControl to prevent problems with Visual Studio's Designer, though the designer still seems to think there are problems with properties.
Added CurrentTime property to PlaybackControl to automatically trigger UI updates when the currentTime is modified.
Added functions to calculate times from the distances provided by SportTracks selection utility since it provides no simple way to convert from distance to time, only from time to distance.
Added listener to SelectedItems on the route control to watch for user interaction, playback is moved to the point the user selected bounded to the current playback limits.
Modified build script to include the Data directory.
Reduced AssemblyInfo version number to 0.1 since this is an alpha.
Removed playing.cs, it doesn't do anything.
Probably some other things too.

Revision 34 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 22 15:08:13 2010 UTC (11 years, 2 months ago) by rvvs89
File length: 577 byte(s)
Diff to previous 17
Branching r30.

Revision 17 - (view) (download) (annotate) - [select for diffs]
Added Sat Sep 11 20:21:25 2010 UTC (11 years, 2 months ago) by rvvs89
Original Path: trunk/UWAPlugins/PlaybackPlugin/Source/PlaybackDialog.cs
File length: 577 byte(s)
Removed the Playback Detail Page in favor of a top level dialog.
Added PlaybackAction, an IAction that appears under the Analyze menu.
Added PlaybackControl, the Windows Control and logic that will drive the playback.
Added PlaybackDialog, a container for PlaybackControl since it is unlikely that we can display it on the RouteControl.
Added poor quality programmer art.
Hopefully the plugin architecture provides some way to view and modify the selected route! Seriously... Otherwise this plugin is going to be horrible to write.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26