/[cits3200i]/branches/playback-branch-rvvs89/UWAPlugins/PlaybackPlugin/Source/PlaybackControl.resx


UCC Code Repository

Contents of /branches/playback-branch-rvvs89/UWAPlugins/PlaybackPlugin/Source/PlaybackControl.resx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 61 - (show annotations) (download)
Thu Sep 30 03:03:02 2010 UTC (11 years, 2 months ago) by rvvs89
File size: 10230 byte(s)
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.
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 <metadata name="statusStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
121 <value>17, 17</value>
122 </metadata>
123 <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
124 <data name="followButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
125 <value>
126 iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
127 YQUAAAnSSURBVFhHlVcJWFXVFt7nDtwJ7gUuM5dBhhsqcMWBQUAGByYFZ0lDEyRNLRFLCRyKzEwtfZaa
128 fg2OZFYOWdngUGjZS82G12COaZMDiSaaA+9//zkX7suiLL7v//bhnLXW/++191p7XwFA/FMIN6EmLIRP
129 C+Rn9T+NI9v/bXKhE1ZhFtnGSFHjn6atixpg3h032now9k7rwcj+Hrt9kzXr9GGiRniInrT1+rtibilA
130 6EWQLlhURA40vV+4NPby/R/1x8IfJuK5pplYd20O1hLPXpqBx7+bgIrdBchbZG8Kzde/q/YVZbLoWwn5
131 UwEkllReol/EQOOHJW90xYKL5ViJWqzDAuIJrMXjWNOCtViIOmId/1+Jh/HouVIMfjEOthy3XZJZ9Por
132 EW0KILnREC6qMxcEX6w+X8jQExl6MuZjEua1QH6ejwpKqcQcjMdD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nDx3HIFTdNCXUySz5MUKchvEGFyi0BoVui0yXXZz/P+a5joN
159 VbcJU0S54ZWcNzwRRJLOlXZ0rYmBiYH8WFoBrcRyd2S9B7InBLIntELunMMXDFSWas+RnRjCRuXFbFmZ
160 GTkT/uyCaey2QcO0z6tjhE6e9E0ZUPZCZ9E1eZHXd9mvmhDIDmims0LO+pdnKhMHsdsFs9vZniDY1+Xz
161 wsb2HMh39rkW5K1IROXmMoxaXQgrSX0pwkb/1BcMiHvQ+I3WIdq3kv9BgLIUGdKI7DrfS5mvGRAuH0p0
162 9mfK5RkHzXYeKvKhFPmSCvbNWti3aBG1UY12PKSCeeh4sxN60N4si+Ykwii4+0s6JC+1NBhSRf5vydsU
163 oHYIlUeO6q6e6/0u9tnpjphlJCWxfBbYSBBB4tg3jei6y4rk3f5I2ROAxPd8Ef+Oh3L0yiencmbQx87s
164 ZPJukbzCctbUWxrxe/I2Bcgv1V2EZMyRBiUt9Tpc8L4nkreqEcMZ2jdLcGw3I/WDYPQ6GIX8Lzog/8sO
165 6POZHT3+HapcQNq/zrvDiwJJvEPkvsuLyDyPz/U9RW5b5H8qoNVYmyU6hlXoVmVu8mwq+MyMvkc8UXTE
166 hqEnOmDkT4kYc64HyhsyMPpMCoaf4r3vWDj6HbEinzer9A2ejcHj3ZZqM0X0n5HfUoBsoMkUekORyAmb
167 quedwXp00L6w5rKTsai4kIKqX7OIbFQ0dkfpiY4o2hvSnLTK83DIZN0yXV+RRt9b/mC95W/DVvWaHKHW
168 9hPt3EtEkd8kdVXoTLflUY/p62Tw+Wmfe1RVpjtEkVuRiNDk3pq4zTL8q1S19Y3tVqUtFqp/6vdb+/8B
169 x/uPb5bP5FYAAAAASUVORK5CYII=
170 </value>
171 </data>
172 </root>

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26