mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 14:07:46 +08:00
Added 15-bit color option for RDP. Fixed the description for 32-bit color (8 bits are not used so it's the same number of colors as 24-bit).
This commit is contained in:
@@ -886,6 +886,8 @@ Namespace App
|
||||
Select Case pValue
|
||||
Case 8
|
||||
nConI.Colors = Connection.Protocol.RDP.RDPColors.Colors256
|
||||
Case 15
|
||||
nConI.Colors = Connection.Protocol.RDP.RDPColors.Colors15Bit
|
||||
Case 16
|
||||
nConI.Colors = Connection.Protocol.RDP.RDPColors.Colors16Bit
|
||||
Case 24
|
||||
|
||||
@@ -879,6 +879,8 @@ Namespace Config
|
||||
conI.Colors = Connection.Protocol.RDP.RDPColors.Colors24Bit
|
||||
Case 3
|
||||
conI.Colors = Connection.Protocol.RDP.RDPColors.Colors32Bit
|
||||
Case 4
|
||||
conI.Colors = Connection.Protocol.RDP.RDPColors.Colors15Bit
|
||||
End Select
|
||||
|
||||
conI.RedirectSound = .Attributes("RedirectSound").Value
|
||||
|
||||
@@ -168,6 +168,8 @@ Namespace Connection
|
||||
Select Case Info.Colors
|
||||
Case RDP.RDPColors.Colors256
|
||||
ICA.SetProp("DesiredColor", 2)
|
||||
Case RDP.RDPColors.Colors15Bit
|
||||
ICA.SetProp("DesiredColor", 4)
|
||||
Case RDP.RDPColors.Colors16Bit
|
||||
ICA.SetProp("DesiredColor", 4)
|
||||
Case Else
|
||||
|
||||
@@ -410,6 +410,8 @@ Namespace Connection
|
||||
Public Enum RDPColors
|
||||
<LocalizedDescription("strRDP256Colors")> _
|
||||
Colors256 = 8
|
||||
<LocalizedDescription("strRDP32768Colors")> _
|
||||
Colors15Bit = 15
|
||||
<LocalizedDescription("strRDP65536Colors")> _
|
||||
Colors16Bit = 16
|
||||
<LocalizedDescription("strRDP16777216Colors")> _
|
||||
|
||||
@@ -1392,7 +1392,7 @@ mRemoteNG wird nun geschlossen und die Installation gestartet.</value>
|
||||
<value>16777216 Farben (24Bit)</value>
|
||||
</data>
|
||||
<data name="strRDP4294967296Colors" xml:space="preserve">
|
||||
<value>4294967296 Farben (32Bit)</value>
|
||||
<value>16777216 Farben (32Bit)</value>
|
||||
</data>
|
||||
<data name="strRDPDisableWallpaper" xml:space="preserve">
|
||||
<value>Entferne Hintergrundbild</value>
|
||||
@@ -1957,4 +1957,7 @@ Fehler Beschreibung: {1}</value>
|
||||
<data name="strGeneral" xml:space="preserve">
|
||||
<value>Allgemein</value>
|
||||
</data>
|
||||
<data name="strRDP32768Colors" xml:space="preserve">
|
||||
<value>32768 Farben (15Bit)</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -142,9 +142,12 @@
|
||||
<value>256 Colors (8-bit)</value>
|
||||
</data>
|
||||
<data name="strRDP4294967296Colors" xml:space="preserve">
|
||||
<value>4294967296 Colors (32-bit)</value>
|
||||
<value>16777216 Colors (32-bit)</value>
|
||||
</data>
|
||||
<data name="strRDP65536Colors" xml:space="preserve">
|
||||
<value>65536 Colors (16-bit)</value>
|
||||
</data>
|
||||
<data name="strRDP32768Colors" xml:space="preserve">
|
||||
<value>32768 Colors (15-bit)</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -1108,7 +1108,7 @@
|
||||
<value>16777216 couleurs (24 bits)</value>
|
||||
</data>
|
||||
<data name="strRDP4294967296Colors" xml:space="preserve">
|
||||
<value>4294967296 couleurs (32 bits)</value>
|
||||
<value>16777216 couleurs (32 bits)</value>
|
||||
</data>
|
||||
<data name="strRDPDisableWallpaper" xml:space="preserve">
|
||||
<value>Désactiver papier peint</value>
|
||||
@@ -1416,4 +1416,7 @@
|
||||
<data name="strAskUpdatesMainInstruction" xml:space="preserve">
|
||||
<value>Paramètres de mise à jour automatique</value>
|
||||
</data>
|
||||
<data name="strRDP32768Colors" xml:space="preserve">
|
||||
<value>32768 couleurs (15 bits)</value>
|
||||
</data>
|
||||
</root>
|
||||
11
mRemoteV1/My Project/Resources.Designer.vb
generated
11
mRemoteV1/My Project/Resources.Designer.vb
generated
@@ -4882,7 +4882,16 @@ Namespace My.Resources
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to 4294967296 Colours (32-bit).
|
||||
''' Looks up a localized string similar to 32768 Colours (15-bit).
|
||||
'''</summary>
|
||||
Friend ReadOnly Property strRDP32768Colors() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("strRDP32768Colors", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to 16777216 Colours (32-bit).
|
||||
'''</summary>
|
||||
Friend ReadOnly Property strRDP4294967296Colors() As String
|
||||
Get
|
||||
|
||||
@@ -1709,7 +1709,7 @@ mRemoteNG will now quit and begin with the installation.</value>
|
||||
<value>16777216 Colours (24-bit)</value>
|
||||
</data>
|
||||
<data name="strRDP4294967296Colors" xml:space="preserve">
|
||||
<value>4294967296 Colours (32-bit)</value>
|
||||
<value>16777216 Colours (32-bit)</value>
|
||||
</data>
|
||||
<data name="strRDPDisableWallpaper" xml:space="preserve">
|
||||
<value>Disable Wallpaper</value>
|
||||
@@ -2304,4 +2304,7 @@ Error Description: {1}</value>
|
||||
<data name="strAskUpdatesMainInstruction" xml:space="preserve">
|
||||
<value>Automatic update settings</value>
|
||||
</data>
|
||||
<data name="strRDP32768Colors" xml:space="preserve">
|
||||
<value>32768 Colours (15-bit)</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user