Browse Source

主界面状态修改

lqq 8 years ago
parent
commit
90d879f9a8
4 changed files with 29 additions and 39 deletions
  1. 20 35
      Client/MainFrm.dfm
  2. 6 1
      Client/MainFrm.pas
  3. 2 2
      ZWT/XML/ClientConfig.xml
  4. 1 1
      ZWT/XML/DefaultConfig.xml

+ 20 - 35
Client/MainFrm.dfm

@@ -66,10 +66,12 @@ object MainForm: TMainForm
     object lblSearchResult: TLabel
       Left = 1
       Top = 0
-      Width = 60
-      Height = 12
+      Width = 156
+      Height = 162
       Align = alClient
       Caption = #26080#25628#32034#32467#26524
+      ExplicitWidth = 60
+      ExplicitHeight = 12
     end
     object ScrollBoxSearchUser: TScrollBox
       Left = 1
@@ -3627,7 +3629,7 @@ object MainForm: TMainForm
               Left = 192
               Top = 4
               Width = 405
-              Height = 21
+              Height = 22
               ItemsEx = <
                 item
                   Caption = 'about:blank'
@@ -6944,10 +6946,6 @@ object MainForm: TMainForm
             object tsContacters: TTabSheet
               Caption = #25105#30340#32852#31995#20154
               OnResize = tsContactersResize
-              ExplicitLeft = 0
-              ExplicitTop = 0
-              ExplicitWidth = 0
-              ExplicitHeight = 0
               object pnlToolBar: TPanel
                 Left = 0
                 Top = 0
@@ -8336,14 +8334,16 @@ object MainForm: TMainForm
                     object LblSearchHint: TLabel
                       Left = 1
                       Top = 0
-                      Width = 108
-                      Height = 12
+                      Width = 198
+                      Height = 201
                       Align = alClient
                       Alignment = taCenter
                       Caption = #27809#26377#31526#21512#26465#20214#30340#35760#24405
                       Color = clWhite
                       ParentColor = False
                       Layout = tlCenter
+                      ExplicitWidth = 108
+                      ExplicitHeight = 12
                     end
                     object ImgLogining: TImage
                       Left = 37
@@ -8511,10 +8511,6 @@ object MainForm: TMainForm
             object tsAddrBook: TTabSheet
               Caption = #36890#35759#24405
               ImageIndex = 5
-              ExplicitLeft = 0
-              ExplicitTop = 0
-              ExplicitWidth = 0
-              ExplicitHeight = 0
               object pnlAddrBook: TPanel
                 Left = 0
                 Top = 0
@@ -9093,9 +9089,10 @@ object MainForm: TMainForm
                   Left = 213
                   Top = 0
                   Width = 6
-                  Height = 12
+                  Height = 22
                   Align = alRight
                   Layout = tlCenter
+                  ExplicitHeight = 12
                 end
               end
               object pnlNDToolBar: TPanel
@@ -10410,14 +10407,10 @@ object MainForm: TMainForm
                       TabOrder = 0
                       object tsUploadingFiles: TTabSheet
                         TabVisible = False
-                        ExplicitWidth = 0
-                        ExplicitHeight = 0
                       end
                       object tsDownloadingFiles: TTabSheet
                         ImageIndex = 1
                         TabVisible = False
-                        ExplicitWidth = 0
-                        ExplicitHeight = 0
                       end
                     end
                     object TabSetNDMissions: TTabSet
@@ -10448,10 +10441,6 @@ object MainForm: TMainForm
             object tsCustomerService: TTabSheet
               Caption = #20540#29677#31995#32479
               ImageIndex = 1
-              ExplicitLeft = 0
-              ExplicitTop = 0
-              ExplicitWidth = 0
-              ExplicitHeight = 0
               object pnlCustomerServiceStatus: TPanel
                 Left = 0
                 Top = 280
@@ -11049,10 +11038,6 @@ object MainForm: TMainForm
             object tsCustomers: TTabSheet
               Caption = #23458#26381#20154#21592#21015#34920
               ImageIndex = 6
-              ExplicitLeft = 0
-              ExplicitTop = 0
-              ExplicitWidth = 0
-              ExplicitHeight = 0
             end
           end
         end
@@ -11065,7 +11050,7 @@ object MainForm: TMainForm
     Left = 463
     Top = 441
     Bitmap = {
-      494C010108000900500320002000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
+      494C010108000900540320002000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
       00000000000036000000280000008000000060000000010020000000000000C0
       0000000000000000000000000000000000000000000000000000000000000000
       0000000000000000000000000000000000000000000000000000000000000000
@@ -13642,7 +13627,7 @@ object MainForm: TMainForm
     Left = 367
     Top = 440
     Bitmap = {
-      494C010106000900500310001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
+      494C010106000900540310001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
       0000000000003600000028000000400000002000000001002000000000000020
       0000000000000000000000000000000000000000000000000000000000000000
       0000000000000000000000000000000000000000000010185A0018299C002139
@@ -14042,7 +14027,7 @@ object MainForm: TMainForm
     Left = 400
     Top = 440
     Bitmap = {
-      494C010101000400500310001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
+      494C010101000400540310001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
       0000000000003600000028000000400000001000000001002000000000000010
       0000000000000000000000000000000000000000000000000000000000000000
       0000000000000000000000000000000000000000000000000000000000000000
@@ -14216,7 +14201,7 @@ object MainForm: TMainForm
     Left = 496
     Top = 442
     Bitmap = {
-      494C010102000400500310001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
+      494C010102000400540310001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
       0000000000003600000028000000400000001000000001002000000000000010
       0000000000000000000000000000000000000000000000000000000000000000
       0000000000000000000000000000000000000000000000000000000000000000
@@ -14600,7 +14585,7 @@ object MainForm: TMainForm
     Left = 366
     Top = 472
     Bitmap = {
-      494C010102000400500310001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
+      494C010102000400540310001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
       0000000000003600000028000000400000001000000001002000000000000010
       0000000000000000000000000000000000000000000000000000000000000000
       0000000000000000000000000000000000000000000000000000000000000000
@@ -14743,7 +14728,7 @@ object MainForm: TMainForm
     Left = 399
     Top = 473
     Bitmap = {
-      494C010103000400500310001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
+      494C010103000400540310001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
       0000000000003600000028000000400000001000000001002000000000000010
       0000000000000000000000000000000000000000000000000000000000000000
       0000949494009494940094949400949494009494940094949400949494009494
@@ -14888,7 +14873,7 @@ object MainForm: TMainForm
     Left = 335
     Top = 440
     Bitmap = {
-      494C010105000900500318001800FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
+      494C010105000900540318001800FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
       0000000000003600000028000000600000003000000001002000000000000048
       0000000000000000000000000000000000000000000000000000000000000000
       0000000000000000000000000000000000000000000000000000000000000000
@@ -15776,7 +15761,7 @@ object MainForm: TMainForm
     Left = 280
     Top = 72
     Bitmap = {
-      494C01010600090050030B000B00FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
+      494C01010600090054030B000B00FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
       00000000000036000000280000002C000000160000000100200000000000200F
       00000000000000000000000000000000000000000000000000008CA5C6001852
       B5001839C6001831BD001839C6001852B5008CA5C60000000000000000000000
@@ -15915,7 +15900,7 @@ object MainForm: TMainForm
     Left = 312
     Top = 72
     Bitmap = {
-      494C010106000900500309000900FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
+      494C010106000900540309000900FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
       000000000000360000002800000024000000120000000100200000000000200A
       00000000000000000000000000000000000000000000F7F7F7002163B5001842
       C6002139C6001842C6002163B500F7F7F7000000000000000000F7F7F7002984

+ 6 - 1
Client/MainFrm.pas

@@ -13283,7 +13283,12 @@ begin
   if (RealICQClient.Me.LoginState = stLeave) or (RealICQClient.Me.LoginState = stBusy) then
     AStateMsg := RealICQClient.Me.LeaveMessage
   else
-    AStateMsg := StateValues[Integer(RealICQClient.Me.LoginState)];
+  begin
+    if RealICQClient.Me.LoginState = stMobileOnline then
+      AStateMsg := StateValues[Integer(RealICQClient.Me.LoginState)]
+    else
+      AStateMsg := StateValues[Integer(RealICQClient.Me.LoginState) mod 5];
+  end;
 
   ATrueDisplayName := RealICQClient.Me.Nickname;
   ADisplayName := ATrueDisplayName + '£¨' + AStateMsg + '£©';

File diff suppressed because it is too large
+ 2 - 2
ZWT/XML/ClientConfig.xml


+ 1 - 1
ZWT/XML/DefaultConfig.xml

@@ -4,7 +4,7 @@
 	<UIMainColor Value="15392442"/>
 	<MainFormLeft Value="713"/>
 	<MainFormTop Value="432"/>
-	<MainFormWidth Value="-338"/>
+	<MainFormWidth Value="-340"/>
 	<MainFormHeight Value="695"/>
 	<TalkingFormLeft Value="1136"/>
 	<TalkingFormTop Value="555"/>