forked from ArduPilot/MissionPlanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OSDVideo.Designer.cs
263 lines (257 loc) · 15.3 KB
/
OSDVideo.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
namespace MissionPlanner
{
partial class OSDVideo
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OSDVideo));
this.txtAviFileName = new System.Windows.Forms.TextBox();
this.txt_tlog = new System.Windows.Forms.TextBox();
this.trackBar1 = new System.Windows.Forms.TrackBar();
this.trackBar_mediapos = new System.Windows.Forms.TrackBar();
this.BUT_tlogfile = new Controls.MyButton();
this.hud1 = new Controls.HUD();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.BUT_start = new Controls.MyButton();
this.BUT_vidfile = new Controls.MyButton();
this.textBox1 = new System.Windows.Forms.TextBox();
this.CHK_fullres = new System.Windows.Forms.CheckBox();
((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.trackBar_mediapos)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
this.SuspendLayout();
//
// txtAviFileName
//
this.txtAviFileName.Location = new System.Drawing.Point(13, 13);
this.txtAviFileName.Name = "txtAviFileName";
this.txtAviFileName.Size = new System.Drawing.Size(314, 20);
this.txtAviFileName.TabIndex = 1;
//
// txt_tlog
//
this.txt_tlog.Location = new System.Drawing.Point(13, 38);
this.txt_tlog.Name = "txt_tlog";
this.txt_tlog.Size = new System.Drawing.Size(314, 20);
this.txt_tlog.TabIndex = 5;
//
// trackBar1
//
this.trackBar1.Location = new System.Drawing.Point(416, 12);
this.trackBar1.Maximum = 900;
this.trackBar1.Minimum = -900;
this.trackBar1.Name = "trackBar1";
this.trackBar1.Size = new System.Drawing.Size(350, 45);
this.trackBar1.TabIndex = 7;
this.trackBar1.TickFrequency = 50;
this.trackBar1.Scroll += new System.EventHandler(this.trackBar1_Scroll);
//
// trackBar_mediapos
//
this.trackBar_mediapos.Enabled = false;
this.trackBar_mediapos.Location = new System.Drawing.Point(12, 64);
this.trackBar_mediapos.Maximum = 900;
this.trackBar_mediapos.Minimum = -900;
this.trackBar_mediapos.Name = "trackBar_mediapos";
this.trackBar_mediapos.Size = new System.Drawing.Size(835, 45);
this.trackBar_mediapos.TabIndex = 8;
this.trackBar_mediapos.TickFrequency = 50;
this.trackBar_mediapos.Scroll += new System.EventHandler(this.trackBar_mediapos_Scroll);
//
// BUT_tlogfile
//
this.BUT_tlogfile.BGGradBot = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(226)))), ((int)(((byte)(150)))));
this.BUT_tlogfile.BGGradTop = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(193)))), ((int)(((byte)(31)))));
this.BUT_tlogfile.Location = new System.Drawing.Point(334, 38);
this.BUT_tlogfile.Name = "BUT_tlogfile";
this.BUT_tlogfile.Outline = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(148)))), ((int)(((byte)(41)))));
this.BUT_tlogfile.Size = new System.Drawing.Size(75, 19);
this.BUT_tlogfile.TabIndex = 6;
this.BUT_tlogfile.Text = "Browse Tlog";
this.BUT_tlogfile.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(87)))), ((int)(((byte)(4)))));
this.BUT_tlogfile.UseVisualStyleBackColor = true;
this.BUT_tlogfile.Click += new System.EventHandler(this.BUT_tlogfile_Click);
//
// hud1
//
this.hud1.airspeed = 0F;
this.hud1.alt = 0F;
this.hud1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.hud1.BackColor = System.Drawing.Color.Black;
this.hud1.batterylevel = 0F;
this.hud1.batteryremaining = 0F;
this.hud1.current = 0F;
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("airspeed", this.bindingSource1, "airspeed", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("alt", this.bindingSource1, "alt", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("batterylevel", this.bindingSource1, "battery_voltage", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("batteryremaining", this.bindingSource1, "battery_remaining", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("current", this.bindingSource1, "current", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("datetime", this.bindingSource1, "datetime", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("disttowp", this.bindingSource1, "wp_dist", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("gpsfix", this.bindingSource1, "gpsstatus", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("gpshdop", this.bindingSource1, "gpshdop", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("groundalt", this.bindingSource1, "HomeAlt", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("groundcourse", this.bindingSource1, "groundcourse", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("groundspeed", this.bindingSource1, "groundspeed", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("heading", this.bindingSource1, "yaw", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("linkqualitygcs", this.bindingSource1, "linkqualitygcs", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("mode", this.bindingSource1, "mode", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("navpitch", this.bindingSource1, "nav_pitch", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("navroll", this.bindingSource1, "nav_roll", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("pitch", this.bindingSource1, "pitch", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("roll", this.bindingSource1, "roll", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("status", this.bindingSource1, "armed", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("targetalt", this.bindingSource1, "targetalt", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("targetheading", this.bindingSource1, "nav_bearing", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("targetspeed", this.bindingSource1, "targetairspeed", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("turnrate", this.bindingSource1, "turnrate", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("verticalspeed", this.bindingSource1, "verticalspeed", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("wpno", this.bindingSource1, "wpno", true));
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("xtrack_error", this.bindingSource1, "xtrack_error", true));
this.hud1.datetime = new System.DateTime(((long)(0)));
this.hud1.disttowp = 0F;
this.hud1.failsafe = false;
this.hud1.gpsfix = 0F;
this.hud1.gpshdop = 0F;
this.hud1.groundalt = 0F;
this.hud1.groundcourse = 0F;
this.hud1.groundspeed = 0F;
this.hud1.heading = 0F;
this.hud1.hudcolor = System.Drawing.Color.White;
this.hud1.linkqualitygcs = 100F;
this.hud1.Location = new System.Drawing.Point(13, 115);
this.hud1.lowvoltagealert = false;
this.hud1.message = "";
this.hud1.mode = "Manual";
this.hud1.Name = "hud1";
this.hud1.navpitch = 0F;
this.hud1.navroll = 0F;
this.hud1.opengl = true;
this.hud1.pitch = 0F;
this.hud1.roll = 0F;
this.hud1.Size = new System.Drawing.Size(832, 448);
this.hud1.status = false;
this.hud1.streamjpg = ((System.IO.MemoryStream)(resources.GetObject("hud1.streamjpg")));
this.hud1.TabIndex = 4;
this.hud1.targetalt = 0F;
this.hud1.targetheading = 0F;
this.hud1.targetspeed = 0F;
this.hud1.turnrate = 0F;
this.hud1.verticalspeed = 0F;
this.hud1.VSync = false;
this.hud1.wpno = 0;
this.hud1.xtrack_error = 0F;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(MissionPlanner.CurrentState);
//
// BUT_start
//
this.BUT_start.BGGradBot = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(226)))), ((int)(((byte)(150)))));
this.BUT_start.BGGradTop = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(193)))), ((int)(((byte)(31)))));
this.BUT_start.Location = new System.Drawing.Point(772, 29);
this.BUT_start.Name = "BUT_start";
this.BUT_start.Outline = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(148)))), ((int)(((byte)(41)))));
this.BUT_start.Size = new System.Drawing.Size(75, 19);
this.BUT_start.TabIndex = 3;
this.BUT_start.Text = "Start";
this.BUT_start.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(87)))), ((int)(((byte)(4)))));
this.BUT_start.UseVisualStyleBackColor = true;
this.BUT_start.Click += new System.EventHandler(this.BUT_start_Click);
//
// BUT_vidfile
//
this.BUT_vidfile.BGGradBot = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(226)))), ((int)(((byte)(150)))));
this.BUT_vidfile.BGGradTop = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(193)))), ((int)(((byte)(31)))));
this.BUT_vidfile.Location = new System.Drawing.Point(334, 13);
this.BUT_vidfile.Name = "BUT_vidfile";
this.BUT_vidfile.Outline = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(148)))), ((int)(((byte)(41)))));
this.BUT_vidfile.Size = new System.Drawing.Size(75, 19);
this.BUT_vidfile.TabIndex = 2;
this.BUT_vidfile.Text = "Browse Video";
this.BUT_vidfile.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(87)))), ((int)(((byte)(4)))));
this.BUT_vidfile.UseVisualStyleBackColor = true;
this.BUT_vidfile.Click += new System.EventHandler(this.BUT_vidfile_Click);
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(854, 115);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(118, 294);
this.textBox1.TabIndex = 9;
//
// CHK_fullres
//
this.CHK_fullres.AutoSize = true;
this.CHK_fullres.Location = new System.Drawing.Point(854, 64);
this.CHK_fullres.Name = "CHK_fullres";
this.CHK_fullres.Size = new System.Drawing.Size(64, 17);
this.CHK_fullres.TabIndex = 10;
this.CHK_fullres.Text = "Full Res";
this.CHK_fullres.UseVisualStyleBackColor = true;
this.CHK_fullres.CheckedChanged += new System.EventHandler(this.CHK_fullres_CheckedChanged);
//
// OSDVideo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(984, 574);
this.Controls.Add(this.CHK_fullres);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.trackBar_mediapos);
this.Controls.Add(this.trackBar1);
this.Controls.Add(this.BUT_tlogfile);
this.Controls.Add(this.txt_tlog);
this.Controls.Add(this.hud1);
this.Controls.Add(this.BUT_start);
this.Controls.Add(this.BUT_vidfile);
this.Controls.Add(this.txtAviFileName);
this.Name = "OSDVideo";
this.Text = "OSDVideo";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OSDVideo_FormClosing);
((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.trackBar_mediapos)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox txtAviFileName;
private Controls.MyButton BUT_vidfile;
private Controls.MyButton BUT_start;
private Controls.HUD hud1;
private Controls.MyButton BUT_tlogfile;
private System.Windows.Forms.TextBox txt_tlog;
private System.Windows.Forms.TrackBar trackBar1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.Windows.Forms.TrackBar trackBar_mediapos;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.CheckBox CHK_fullres;
}
}