1.1 --- a/Client/MainForm.Designer.cs Thu Feb 05 17:16:44 2015 +0100
1.2 +++ b/Client/MainForm.Designer.cs Thu Feb 05 22:28:27 2015 +0100
1.3 @@ -28,157 +28,169 @@
1.4 /// </summary>
1.5 private void InitializeComponent()
1.6 {
1.7 - this.buttonSetText = new System.Windows.Forms.Button();
1.8 - this.textBoxTop = new System.Windows.Forms.TextBox();
1.9 - this.textBoxBottom = new System.Windows.Forms.TextBox();
1.10 - this.buttonAlignRight = new System.Windows.Forms.Button();
1.11 - this.buttonAlignCenter = new System.Windows.Forms.Button();
1.12 - this.buttonAlignLeft = new System.Windows.Forms.Button();
1.13 - this.buttonSetTopText = new System.Windows.Forms.Button();
1.14 - this.buttonLayoutUpdate = new System.Windows.Forms.Button();
1.15 - this.buttonSetBitmap = new System.Windows.Forms.Button();
1.16 - this.buttonBitmapLayout = new System.Windows.Forms.Button();
1.17 - this.buttonIndicatorsLayout = new System.Windows.Forms.Button();
1.18 - this.buttonUpdateTexts = new System.Windows.Forms.Button();
1.19 - this.SuspendLayout();
1.20 - //
1.21 - // buttonSetText
1.22 - //
1.23 - this.buttonSetText.Location = new System.Drawing.Point(13, 132);
1.24 - this.buttonSetText.Name = "buttonSetText";
1.25 - this.buttonSetText.Size = new System.Drawing.Size(75, 23);
1.26 - this.buttonSetText.TabIndex = 0;
1.27 - this.buttonSetText.Text = "Set Text";
1.28 - this.buttonSetText.UseVisualStyleBackColor = true;
1.29 - this.buttonSetText.Click += new System.EventHandler(this.buttonSetText_Click);
1.30 - //
1.31 - // textBoxTop
1.32 - //
1.33 - this.textBoxTop.Location = new System.Drawing.Point(12, 31);
1.34 - this.textBoxTop.Name = "textBoxTop";
1.35 - this.textBoxTop.Size = new System.Drawing.Size(419, 20);
1.36 - this.textBoxTop.TabIndex = 1;
1.37 - //
1.38 - // textBoxBottom
1.39 - //
1.40 - this.textBoxBottom.Location = new System.Drawing.Point(12, 57);
1.41 - this.textBoxBottom.Name = "textBoxBottom";
1.42 - this.textBoxBottom.Size = new System.Drawing.Size(419, 20);
1.43 - this.textBoxBottom.TabIndex = 2;
1.44 - //
1.45 - // buttonAlignRight
1.46 - //
1.47 - this.buttonAlignRight.Location = new System.Drawing.Point(176, 160);
1.48 - this.buttonAlignRight.Name = "buttonAlignRight";
1.49 - this.buttonAlignRight.Size = new System.Drawing.Size(75, 23);
1.50 - this.buttonAlignRight.TabIndex = 23;
1.51 - this.buttonAlignRight.Text = "Align Right";
1.52 - this.buttonAlignRight.UseVisualStyleBackColor = true;
1.53 - this.buttonAlignRight.Click += new System.EventHandler(this.buttonAlignRight_Click);
1.54 - //
1.55 - // buttonAlignCenter
1.56 - //
1.57 - this.buttonAlignCenter.Location = new System.Drawing.Point(94, 161);
1.58 - this.buttonAlignCenter.Name = "buttonAlignCenter";
1.59 - this.buttonAlignCenter.Size = new System.Drawing.Size(75, 23);
1.60 - this.buttonAlignCenter.TabIndex = 22;
1.61 - this.buttonAlignCenter.Text = "Align Center";
1.62 - this.buttonAlignCenter.UseVisualStyleBackColor = true;
1.63 - this.buttonAlignCenter.Click += new System.EventHandler(this.buttonAlignCenter_Click);
1.64 - //
1.65 - // buttonAlignLeft
1.66 - //
1.67 - this.buttonAlignLeft.Location = new System.Drawing.Point(12, 161);
1.68 - this.buttonAlignLeft.Name = "buttonAlignLeft";
1.69 - this.buttonAlignLeft.Size = new System.Drawing.Size(75, 23);
1.70 - this.buttonAlignLeft.TabIndex = 21;
1.71 - this.buttonAlignLeft.Text = "Align Left";
1.72 - this.buttonAlignLeft.UseVisualStyleBackColor = true;
1.73 - this.buttonAlignLeft.Click += new System.EventHandler(this.buttonAlignLeft_Click);
1.74 - //
1.75 - // buttonSetTopText
1.76 - //
1.77 - this.buttonSetTopText.Location = new System.Drawing.Point(94, 132);
1.78 - this.buttonSetTopText.Name = "buttonSetTopText";
1.79 - this.buttonSetTopText.Size = new System.Drawing.Size(75, 23);
1.80 - this.buttonSetTopText.TabIndex = 24;
1.81 - this.buttonSetTopText.Text = "Set Top Text";
1.82 - this.buttonSetTopText.UseVisualStyleBackColor = true;
1.83 - this.buttonSetTopText.Click += new System.EventHandler(this.buttonSetTopText_Click);
1.84 - //
1.85 - // buttonLayoutUpdate
1.86 - //
1.87 - this.buttonLayoutUpdate.Location = new System.Drawing.Point(176, 131);
1.88 - this.buttonLayoutUpdate.Name = "buttonLayoutUpdate";
1.89 - this.buttonLayoutUpdate.Size = new System.Drawing.Size(75, 23);
1.90 - this.buttonLayoutUpdate.TabIndex = 25;
1.91 - this.buttonLayoutUpdate.Text = "Layout 2x2";
1.92 - this.buttonLayoutUpdate.UseVisualStyleBackColor = true;
1.93 - this.buttonLayoutUpdate.Click += new System.EventHandler(this.buttonLayoutUpdate_Click);
1.94 - //
1.95 - // buttonSetBitmap
1.96 - //
1.97 - this.buttonSetBitmap.Location = new System.Drawing.Point(12, 190);
1.98 - this.buttonSetBitmap.Name = "buttonSetBitmap";
1.99 - this.buttonSetBitmap.Size = new System.Drawing.Size(75, 23);
1.100 - this.buttonSetBitmap.TabIndex = 26;
1.101 - this.buttonSetBitmap.Text = "Set Bitmap";
1.102 - this.buttonSetBitmap.UseVisualStyleBackColor = true;
1.103 - this.buttonSetBitmap.Click += new System.EventHandler(this.buttonSetBitmap_Click);
1.104 - //
1.105 - // buttonBitmapLayout
1.106 - //
1.107 - this.buttonBitmapLayout.Location = new System.Drawing.Point(176, 189);
1.108 - this.buttonBitmapLayout.Name = "buttonBitmapLayout";
1.109 - this.buttonBitmapLayout.Size = new System.Drawing.Size(75, 35);
1.110 - this.buttonBitmapLayout.TabIndex = 27;
1.111 - this.buttonBitmapLayout.Text = "Bitmap Layout";
1.112 - this.buttonBitmapLayout.UseVisualStyleBackColor = true;
1.113 - this.buttonBitmapLayout.Click += new System.EventHandler(this.buttonBitmapLayout_Click);
1.114 - //
1.115 - // buttonIndicatorsLayout
1.116 - //
1.117 - this.buttonIndicatorsLayout.Location = new System.Drawing.Point(94, 189);
1.118 - this.buttonIndicatorsLayout.Name = "buttonIndicatorsLayout";
1.119 - this.buttonIndicatorsLayout.Size = new System.Drawing.Size(75, 35);
1.120 - this.buttonIndicatorsLayout.TabIndex = 28;
1.121 - this.buttonIndicatorsLayout.Text = "Indicators Layout ";
1.122 - this.buttonIndicatorsLayout.UseVisualStyleBackColor = true;
1.123 - this.buttonIndicatorsLayout.Click += new System.EventHandler(this.buttonIndicatorsLayout_Click);
1.124 - //
1.125 - // buttonUpdateTexts
1.126 - //
1.127 - this.buttonUpdateTexts.Location = new System.Drawing.Point(257, 189);
1.128 - this.buttonUpdateTexts.Name = "buttonUpdateTexts";
1.129 - this.buttonUpdateTexts.Size = new System.Drawing.Size(75, 35);
1.130 - this.buttonUpdateTexts.TabIndex = 29;
1.131 - this.buttonUpdateTexts.Text = "Update Texts";
1.132 - this.buttonUpdateTexts.UseVisualStyleBackColor = true;
1.133 - this.buttonUpdateTexts.Click += new System.EventHandler(this.buttonUpdateTexts_Click);
1.134 - //
1.135 - // MainForm
1.136 - //
1.137 - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
1.138 - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
1.139 - this.ClientSize = new System.Drawing.Size(443, 252);
1.140 - this.Controls.Add(this.buttonUpdateTexts);
1.141 - this.Controls.Add(this.buttonIndicatorsLayout);
1.142 - this.Controls.Add(this.buttonBitmapLayout);
1.143 - this.Controls.Add(this.buttonSetBitmap);
1.144 - this.Controls.Add(this.buttonLayoutUpdate);
1.145 - this.Controls.Add(this.buttonSetTopText);
1.146 - this.Controls.Add(this.buttonAlignRight);
1.147 - this.Controls.Add(this.buttonAlignCenter);
1.148 - this.Controls.Add(this.buttonAlignLeft);
1.149 - this.Controls.Add(this.textBoxBottom);
1.150 - this.Controls.Add(this.textBoxTop);
1.151 - this.Controls.Add(this.buttonSetText);
1.152 - this.Name = "MainForm";
1.153 - this.Text = "Client";
1.154 - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
1.155 - this.Load += new System.EventHandler(this.MainForm_Load);
1.156 - this.ResumeLayout(false);
1.157 - this.PerformLayout();
1.158 + this.buttonSetText = new System.Windows.Forms.Button();
1.159 + this.textBoxTop = new System.Windows.Forms.TextBox();
1.160 + this.textBoxBottom = new System.Windows.Forms.TextBox();
1.161 + this.buttonAlignRight = new System.Windows.Forms.Button();
1.162 + this.buttonAlignCenter = new System.Windows.Forms.Button();
1.163 + this.buttonAlignLeft = new System.Windows.Forms.Button();
1.164 + this.buttonSetTopText = new System.Windows.Forms.Button();
1.165 + this.buttonLayoutUpdate = new System.Windows.Forms.Button();
1.166 + this.buttonSetBitmap = new System.Windows.Forms.Button();
1.167 + this.buttonBitmapLayout = new System.Windows.Forms.Button();
1.168 + this.buttonIndicatorsLayout = new System.Windows.Forms.Button();
1.169 + this.buttonUpdateTexts = new System.Windows.Forms.Button();
1.170 + this.buttonLayoutOneTextField = new System.Windows.Forms.Button();
1.171 + this.SuspendLayout();
1.172 + //
1.173 + // buttonSetText
1.174 + //
1.175 + this.buttonSetText.Location = new System.Drawing.Point(13, 132);
1.176 + this.buttonSetText.Name = "buttonSetText";
1.177 + this.buttonSetText.Size = new System.Drawing.Size(75, 23);
1.178 + this.buttonSetText.TabIndex = 0;
1.179 + this.buttonSetText.Text = "Set Text";
1.180 + this.buttonSetText.UseVisualStyleBackColor = true;
1.181 + this.buttonSetText.Click += new System.EventHandler(this.buttonSetText_Click);
1.182 + //
1.183 + // textBoxTop
1.184 + //
1.185 + this.textBoxTop.Location = new System.Drawing.Point(12, 31);
1.186 + this.textBoxTop.Name = "textBoxTop";
1.187 + this.textBoxTop.Size = new System.Drawing.Size(419, 20);
1.188 + this.textBoxTop.TabIndex = 1;
1.189 + //
1.190 + // textBoxBottom
1.191 + //
1.192 + this.textBoxBottom.Location = new System.Drawing.Point(12, 57);
1.193 + this.textBoxBottom.Name = "textBoxBottom";
1.194 + this.textBoxBottom.Size = new System.Drawing.Size(419, 20);
1.195 + this.textBoxBottom.TabIndex = 2;
1.196 + //
1.197 + // buttonAlignRight
1.198 + //
1.199 + this.buttonAlignRight.Location = new System.Drawing.Point(176, 160);
1.200 + this.buttonAlignRight.Name = "buttonAlignRight";
1.201 + this.buttonAlignRight.Size = new System.Drawing.Size(75, 23);
1.202 + this.buttonAlignRight.TabIndex = 23;
1.203 + this.buttonAlignRight.Text = "Align Right";
1.204 + this.buttonAlignRight.UseVisualStyleBackColor = true;
1.205 + this.buttonAlignRight.Click += new System.EventHandler(this.buttonAlignRight_Click);
1.206 + //
1.207 + // buttonAlignCenter
1.208 + //
1.209 + this.buttonAlignCenter.Location = new System.Drawing.Point(94, 161);
1.210 + this.buttonAlignCenter.Name = "buttonAlignCenter";
1.211 + this.buttonAlignCenter.Size = new System.Drawing.Size(75, 23);
1.212 + this.buttonAlignCenter.TabIndex = 22;
1.213 + this.buttonAlignCenter.Text = "Align Center";
1.214 + this.buttonAlignCenter.UseVisualStyleBackColor = true;
1.215 + this.buttonAlignCenter.Click += new System.EventHandler(this.buttonAlignCenter_Click);
1.216 + //
1.217 + // buttonAlignLeft
1.218 + //
1.219 + this.buttonAlignLeft.Location = new System.Drawing.Point(12, 161);
1.220 + this.buttonAlignLeft.Name = "buttonAlignLeft";
1.221 + this.buttonAlignLeft.Size = new System.Drawing.Size(75, 23);
1.222 + this.buttonAlignLeft.TabIndex = 21;
1.223 + this.buttonAlignLeft.Text = "Align Left";
1.224 + this.buttonAlignLeft.UseVisualStyleBackColor = true;
1.225 + this.buttonAlignLeft.Click += new System.EventHandler(this.buttonAlignLeft_Click);
1.226 + //
1.227 + // buttonSetTopText
1.228 + //
1.229 + this.buttonSetTopText.Location = new System.Drawing.Point(94, 132);
1.230 + this.buttonSetTopText.Name = "buttonSetTopText";
1.231 + this.buttonSetTopText.Size = new System.Drawing.Size(75, 23);
1.232 + this.buttonSetTopText.TabIndex = 24;
1.233 + this.buttonSetTopText.Text = "Set Top Text";
1.234 + this.buttonSetTopText.UseVisualStyleBackColor = true;
1.235 + this.buttonSetTopText.Click += new System.EventHandler(this.buttonSetTopText_Click);
1.236 + //
1.237 + // buttonLayoutUpdate
1.238 + //
1.239 + this.buttonLayoutUpdate.Location = new System.Drawing.Point(176, 131);
1.240 + this.buttonLayoutUpdate.Name = "buttonLayoutUpdate";
1.241 + this.buttonLayoutUpdate.Size = new System.Drawing.Size(75, 23);
1.242 + this.buttonLayoutUpdate.TabIndex = 25;
1.243 + this.buttonLayoutUpdate.Text = "Layout 2x2";
1.244 + this.buttonLayoutUpdate.UseVisualStyleBackColor = true;
1.245 + this.buttonLayoutUpdate.Click += new System.EventHandler(this.buttonLayoutUpdate_Click);
1.246 + //
1.247 + // buttonSetBitmap
1.248 + //
1.249 + this.buttonSetBitmap.Location = new System.Drawing.Point(12, 190);
1.250 + this.buttonSetBitmap.Name = "buttonSetBitmap";
1.251 + this.buttonSetBitmap.Size = new System.Drawing.Size(75, 23);
1.252 + this.buttonSetBitmap.TabIndex = 26;
1.253 + this.buttonSetBitmap.Text = "Set Bitmap";
1.254 + this.buttonSetBitmap.UseVisualStyleBackColor = true;
1.255 + this.buttonSetBitmap.Click += new System.EventHandler(this.buttonSetBitmap_Click);
1.256 + //
1.257 + // buttonBitmapLayout
1.258 + //
1.259 + this.buttonBitmapLayout.Location = new System.Drawing.Point(176, 189);
1.260 + this.buttonBitmapLayout.Name = "buttonBitmapLayout";
1.261 + this.buttonBitmapLayout.Size = new System.Drawing.Size(75, 35);
1.262 + this.buttonBitmapLayout.TabIndex = 27;
1.263 + this.buttonBitmapLayout.Text = "Bitmap Layout";
1.264 + this.buttonBitmapLayout.UseVisualStyleBackColor = true;
1.265 + this.buttonBitmapLayout.Click += new System.EventHandler(this.buttonBitmapLayout_Click);
1.266 + //
1.267 + // buttonIndicatorsLayout
1.268 + //
1.269 + this.buttonIndicatorsLayout.Location = new System.Drawing.Point(94, 189);
1.270 + this.buttonIndicatorsLayout.Name = "buttonIndicatorsLayout";
1.271 + this.buttonIndicatorsLayout.Size = new System.Drawing.Size(75, 35);
1.272 + this.buttonIndicatorsLayout.TabIndex = 28;
1.273 + this.buttonIndicatorsLayout.Text = "Indicators Layout ";
1.274 + this.buttonIndicatorsLayout.UseVisualStyleBackColor = true;
1.275 + this.buttonIndicatorsLayout.Click += new System.EventHandler(this.buttonIndicatorsLayout_Click);
1.276 + //
1.277 + // buttonUpdateTexts
1.278 + //
1.279 + this.buttonUpdateTexts.Location = new System.Drawing.Point(257, 189);
1.280 + this.buttonUpdateTexts.Name = "buttonUpdateTexts";
1.281 + this.buttonUpdateTexts.Size = new System.Drawing.Size(75, 35);
1.282 + this.buttonUpdateTexts.TabIndex = 29;
1.283 + this.buttonUpdateTexts.Text = "Update Texts";
1.284 + this.buttonUpdateTexts.UseVisualStyleBackColor = true;
1.285 + this.buttonUpdateTexts.Click += new System.EventHandler(this.buttonUpdateTexts_Click);
1.286 + //
1.287 + // buttonLayoutOneTextField
1.288 + //
1.289 + this.buttonLayoutOneTextField.Location = new System.Drawing.Point(257, 131);
1.290 + this.buttonLayoutOneTextField.Name = "buttonLayoutOneTextField";
1.291 + this.buttonLayoutOneTextField.Size = new System.Drawing.Size(75, 23);
1.292 + this.buttonLayoutOneTextField.TabIndex = 30;
1.293 + this.buttonLayoutOneTextField.Text = "Layout 1x1";
1.294 + this.buttonLayoutOneTextField.UseVisualStyleBackColor = true;
1.295 + this.buttonLayoutOneTextField.Click += new System.EventHandler(this.buttonLayoutOneTextField_Click);
1.296 + //
1.297 + // MainForm
1.298 + //
1.299 + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
1.300 + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
1.301 + this.ClientSize = new System.Drawing.Size(443, 252);
1.302 + this.Controls.Add(this.buttonLayoutOneTextField);
1.303 + this.Controls.Add(this.buttonUpdateTexts);
1.304 + this.Controls.Add(this.buttonIndicatorsLayout);
1.305 + this.Controls.Add(this.buttonBitmapLayout);
1.306 + this.Controls.Add(this.buttonSetBitmap);
1.307 + this.Controls.Add(this.buttonLayoutUpdate);
1.308 + this.Controls.Add(this.buttonSetTopText);
1.309 + this.Controls.Add(this.buttonAlignRight);
1.310 + this.Controls.Add(this.buttonAlignCenter);
1.311 + this.Controls.Add(this.buttonAlignLeft);
1.312 + this.Controls.Add(this.textBoxBottom);
1.313 + this.Controls.Add(this.textBoxTop);
1.314 + this.Controls.Add(this.buttonSetText);
1.315 + this.Name = "MainForm";
1.316 + this.Text = "Client";
1.317 + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
1.318 + this.Load += new System.EventHandler(this.MainForm_Load);
1.319 + this.ResumeLayout(false);
1.320 + this.PerformLayout();
1.321
1.322 }
1.323
1.324 @@ -196,6 +208,7 @@
1.325 private System.Windows.Forms.Button buttonBitmapLayout;
1.326 private System.Windows.Forms.Button buttonIndicatorsLayout;
1.327 private System.Windows.Forms.Button buttonUpdateTexts;
1.328 + private System.Windows.Forms.Button buttonLayoutOneTextField;
1.329 }
1.330 }
1.331
2.1 --- a/Client/MainForm.cs Thu Feb 05 17:16:44 2015 +0100
2.2 +++ b/Client/MainForm.cs Thu Feb 05 22:28:27 2015 +0100
2.3 @@ -347,5 +347,18 @@
2.4 }
2.5
2.6 }
2.7 +
2.8 + private void buttonLayoutOneTextField_Click(object sender, EventArgs e)
2.9 + {
2.10 + //Set one column two lines layout
2.11 + TableLayout layout = new TableLayout(1, 1);
2.12 + iClient.SetLayout(layout);
2.13 +
2.14 + //Set our fields
2.15 + iClient.CreateFields(new DataField[]
2.16 + {
2.17 + new DataField(0, textBoxTop.Text, Alignment)
2.18 + });
2.19 + }
2.20 }
2.21 }
3.1 --- a/Server/Display.cs Thu Feb 05 17:16:44 2015 +0100
3.2 +++ b/Server/Display.cs Thu Feb 05 22:28:27 2015 +0100
3.3 @@ -202,6 +202,76 @@
3.4 return CurrentRequest() != TMiniDisplayRequest.EMiniDisplayRequestNone;
3.5 }
3.6
3.7 + //
3.8 + public int IconEmailCount()
3.9 + {
3.10 + return MiniDisplayIconEmailCount(iDevice);
3.11 + }
3.12 +
3.13 + public void SetIconEmail(int aIndex, int aStatus)
3.14 + {
3.15 + MiniDisplaySetIconEmail(iDevice, aIndex, aStatus);
3.16 + }
3.17 +
3.18 + public int IconNetworkCount()
3.19 + {
3.20 + return MiniDisplayIconNetworkCount(iDevice);
3.21 + }
3.22 +
3.23 + public void SetIconNetwork(int aIndex, int aStatus)
3.24 + {
3.25 + MiniDisplaySetIconNetwork(iDevice, aIndex, aStatus);
3.26 + }
3.27 +
3.28 + public int IconVolumeCount()
3.29 + {
3.30 + return MiniDisplayIconVolumeCount(iDevice);
3.31 + }
3.32 +
3.33 + public void SetIconVolume(int aIndex, int aStatus)
3.34 + {
3.35 + MiniDisplaySetIconVolume(iDevice, aIndex, aStatus);
3.36 + }
3.37 +
3.38 + public int IconPlayCount()
3.39 + {
3.40 + return MiniDisplayIconPlayCount(iDevice);
3.41 + }
3.42 +
3.43 + public void SetIconPlay(int aIndex, int aStatus)
3.44 + {
3.45 + MiniDisplaySetIconPlay(iDevice, aIndex, aStatus);
3.46 + }
3.47 +
3.48 + public int IconPauseCount()
3.49 + {
3.50 + return MiniDisplayIconPauseCount(iDevice);
3.51 + }
3.52 +
3.53 + public void SetIconPause(int aIndex, int aStatus)
3.54 + {
3.55 + MiniDisplaySetIconPause(iDevice, aIndex, aStatus);
3.56 + }
3.57 +
3.58 + public int IconRecordingCount()
3.59 + {
3.60 + return MiniDisplayIconRecordingCount(iDevice);
3.61 + }
3.62 +
3.63 + public void SetIconRecording(int aIndex, int aStatus)
3.64 + {
3.65 + MiniDisplaySetIconRecording(iDevice, aIndex, aStatus);
3.66 + }
3.67 +
3.68 + public int IconMuteCount()
3.69 + {
3.70 + return MiniDisplayIconMuteCount(iDevice);
3.71 + }
3.72 +
3.73 + public void SetIconMute(int aIndex, int aStatus)
3.74 + {
3.75 + MiniDisplaySetIconMute(iDevice, aIndex, aStatus);
3.76 + }
3.77
3.78 public string Vendor()
3.79 {
3.80 @@ -347,6 +417,47 @@
3.81 [return: MarshalAs(UnmanagedType.I1)]
3.82 public static extern bool MiniDisplaySupportClock(IntPtr aDevice);
3.83
3.84 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.85 + public static extern int MiniDisplayIconNetworkCount(IntPtr aDevice);
3.86 +
3.87 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.88 + public static extern int MiniDisplayIconEmailCount(IntPtr aDevice);
3.89 +
3.90 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.91 + public static extern int MiniDisplayIconMuteCount(IntPtr aDevice);
3.92 +
3.93 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.94 + public static extern int MiniDisplayIconVolumeCount(IntPtr aDevice);
3.95 +
3.96 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.97 + public static extern int MiniDisplayIconPlayCount(IntPtr aDevice);
3.98 +
3.99 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.100 + public static extern int MiniDisplayIconPauseCount(IntPtr aDevice);
3.101 +
3.102 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.103 + public static extern int MiniDisplayIconRecordingCount(IntPtr aDevice);
3.104 +
3.105 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.106 + public static extern void MiniDisplaySetIconNetwork(IntPtr aDevice, int aIndex, int aStatus);
3.107 +
3.108 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.109 + public static extern void MiniDisplaySetIconEmail(IntPtr aDevice, int aIndex, int aStatus);
3.110 +
3.111 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.112 + public static extern void MiniDisplaySetIconMute(IntPtr aDevice, int aIndex, int aStatus);
3.113 +
3.114 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.115 + public static extern void MiniDisplaySetIconVolume(IntPtr aDevice, int aIndex, int aStatus);
3.116 +
3.117 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.118 + public static extern void MiniDisplaySetIconPlay(IntPtr aDevice, int aIndex, int aStatus);
3.119 +
3.120 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.121 + public static extern void MiniDisplaySetIconPause(IntPtr aDevice, int aIndex, int aStatus);
3.122 +
3.123 + [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
3.124 + public static extern void MiniDisplaySetIconRecording(IntPtr aDevice, int aIndex, int aStatus);
3.125
3.126 }
3.127 }
4.1 --- a/Server/MainForm.cs Thu Feb 05 17:16:44 2015 +0100
4.2 +++ b/Server/MainForm.cs Thu Feb 05 22:28:27 2015 +0100
4.3 @@ -166,6 +166,12 @@
4.4 UpdateStatus();
4.5 //Initiate asynchronous request
4.6 iDisplay.RequestFirmwareRevision();
4.7 +
4.8 +#if DEBUG
4.9 + //Testing icon in debug, no arm done if icon not supported
4.10 + iDisplay.SetIconRecording(0, 1);
4.11 +#endif
4.12 +
4.13 }
4.14
4.15 /// <summary>
5.1 --- a/Server/SharpDisplayManager.csproj Thu Feb 05 17:16:44 2015 +0100
5.2 +++ b/Server/SharpDisplayManager.csproj Thu Feb 05 22:28:27 2015 +0100
5.3 @@ -31,7 +31,7 @@
5.4 <CreateWebPageOnPublish>true</CreateWebPageOnPublish>
5.5 <WebPage>index.htm</WebPage>
5.6 <OpenBrowserOnPublish>false</OpenBrowserOnPublish>
5.7 - <ApplicationRevision>0</ApplicationRevision>
5.8 + <ApplicationRevision>1</ApplicationRevision>
5.9 <ApplicationVersion>0.1.2.%2a</ApplicationVersion>
5.10 <UseApplicationTrust>false</UseApplicationTrust>
5.11 <CreateDesktopShortcut>true</CreateDesktopShortcut>