From 154f542c4a7d8c58a4184118272d51982362ea7c Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Wed, 1 Nov 2017 16:23:50 +0000 Subject: [PATCH] wip. git-svn-id: svn://qnap.local/TwoTerm/trunk@3182 5590a31f-7b70-45f8-8c82-aa3a8e5f4507 --- 2Term.xcodeproj/project.pbxproj | 4 ++++ CharacterGenerator.mm | 1 + images/vt52-charset.png | Bin 0 -> 2190 bytes 3 files changed, 5 insertions(+) create mode 100644 images/vt52-charset.png diff --git a/2Term.xcodeproj/project.pbxproj b/2Term.xcodeproj/project.pbxproj index 91e1168..5731478 100644 --- a/2Term.xcodeproj/project.pbxproj +++ b/2Term.xcodeproj/project.pbxproj @@ -45,6 +45,7 @@ B68E632A12FF909D00EAFF5F /* ExampleView.m in Sources */ = {isa = PBXBuildFile; fileRef = B68E632912FF909C00EAFF5F /* ExampleView.m */; }; B6ACA2AC1E5C8BEC000E774B /* GNOConsole.mm in Sources */ = {isa = PBXBuildFile; fileRef = B6ACA2AB1E5C8BEC000E774B /* GNOConsole.mm */; }; B6ACA2AD1E614E38000E774B /* VT52.mm in Sources */ = {isa = PBXBuildFile; fileRef = B612F46312DD5DF1005D1B77 /* VT52.mm */; }; + B6ACA2AF1E635CEC000E774B /* vt52-charset.png in Resources */ = {isa = PBXBuildFile; fileRef = B6ACA2AE1E635CEC000E774B /* vt52-charset.png */; }; B6C704EF15CCC64100CC0401 /* titlebar-center@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B6C704EC15CCC64100CC0401 /* titlebar-center@2x.png */; }; B6C704F015CCC64100CC0401 /* titlebar-left@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B6C704ED15CCC64100CC0401 /* titlebar-left@2x.png */; }; B6C704F115CCC64100CC0401 /* titlebar-right@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B6C704EE15CCC64100CC0401 /* titlebar-right@2x.png */; }; @@ -158,6 +159,7 @@ B68E632812FF909C00EAFF5F /* ExampleView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExampleView.h; sourceTree = ""; }; B68E632912FF909C00EAFF5F /* ExampleView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ExampleView.m; sourceTree = ""; }; B6ACA2AB1E5C8BEC000E774B /* GNOConsole.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GNOConsole.mm; sourceTree = ""; }; + B6ACA2AE1E635CEC000E774B /* vt52-charset.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "vt52-charset.png"; sourceTree = ""; }; B6C173901D31D2B80024E360 /* GSOSConsole.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GSOSConsole.h; sourceTree = ""; }; B6C173911D31D2B80024E360 /* GSOSConsole.mm.ragel */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = GSOSConsole.mm.ragel; sourceTree = ""; }; B6C173941D35546A0024E360 /* algorithm.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = algorithm.h; sourceTree = ""; }; @@ -354,6 +356,7 @@ B61EF7C31481561E008C1891 /* titlebar-corner.png */, B61EF7C41481561E008C1891 /* titlebar-middle.png */, B6801BD812EB549300B22E9E /* vt100-charset.png */, + B6ACA2AE1E635CEC000E774B /* vt52-charset.png */, B67B3CE312B6FA040033AE07 /* a2-charset-40.png */, B67B3CE412B6FA040033AE07 /* a2-charset-80.png */, ); @@ -431,6 +434,7 @@ B6C704EF15CCC64100CC0401 /* titlebar-center@2x.png in Resources */, B6C704F015CCC64100CC0401 /* titlebar-left@2x.png in Resources */, B6C704F115CCC64100CC0401 /* titlebar-right@2x.png in Resources */, + B6ACA2AF1E635CEC000E774B /* vt52-charset.png in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/CharacterGenerator.mm b/CharacterGenerator.mm index ffa5468..1b0a1d7 100644 --- a/CharacterGenerator.mm +++ b/CharacterGenerator.mm @@ -54,6 +54,7 @@ static CGImageRef PNGImage(NSString *path) imagePath = [mainBundle pathForResource: @"a2-charset-80" ofType: @"png"]; //imagePath = [mainBundle pathForResource: @"vt100-charset" ofType: @"png"]; + //imagePath = [mainBundle pathForResource: @"vt52-charset" ofType: @"png"]; diff --git a/images/vt52-charset.png b/images/vt52-charset.png new file mode 100644 index 0000000000000000000000000000000000000000..2e109a5263b978cd0e42f21f1e3b54c22908a51e GIT binary patch literal 2190 zcmd5;X;hP05`}5wMw2uO3M6bI&=OfR27~|+Wz{swj)Ouzltm>dA%d*hF!&wB1q2MZ zF&YyTM50IxARq=hi9lGIBrFL5S(GI}2sQ*FGn$SPh3f~dcEsaj{H(>*l2`o8eh@QhB_f0%X8OIGd;)n%CeIcgcGnT2^ znGW^`l9gq{{I!=^#M=im@>tz~{9+JoHYDv#sW&-=-1Oa#t1gK6P*4NZz+ch8uj?u9 zeB(Y_ZLvr*IP*&{GB*TY!On-{&k2Cytt@zJ%mxi_%J&95uNyQ*254OqY3iS|s{D0~ z4$+GzL`~= zP@5z5sn;$CCJf}VR$4vSCH$0FBRxJ)i4IL+F;n4^V@MfIZ^CxrO_&_w&jZ*$eundx zfXu_Oj5}>jdz?yxjr9<27282ox3%K0bh@i%gJQSrW!Tnfr{2__l{a6#a+KDqvc-dG z^Ft3#20`VAaryb6BJAkvZ0pPD!)VMcex1KG&(>kzS|WkGgXamOD7VduoQBdm{lr0fbH0VsXy!XmRd;(I_0CRgL}*CYaS!wdeb9nNZW3UHLBS}v zW`&{CYaxe87V1b1>_x~Yn3;>F#ZrTh^m_uptmVurXutFl%DlVsx4Wg9sM?L)HWAlD zJ-9XZSuuUETKakH1Q>3QYq-Wz+&0z?P73TE;XM-ulu>G93+=Bv4HbBN!>WNN9hMM| zA|+hy<|;FGiF@+O`e8%qry~4Ur8q>KeRnCsR*qoMSRZq1TCJTE{4nD@oTtIp>Or0Y z-ApMy5xjs!kL0wT%>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