// // KMAppearance.swift // PDF Reader Pro // // Created by tangchao on 2023/4/17. // import Cocoa let KMImageNameToolbarLeftPanel = "KMImageNameToolbarLeftPanel"; let KMImageNameToolbarRightPanel = "KMImageNameToolbarRightPanel"; let KMImageNameToolbarMinus = "KMImageNameToolbarMinus"; let KMImageNameToolbarPlus = "KMImageNameToolbarPlus"; let KMImageNameToolbarPrevious = "KMImageNameToolbarPrevious"; let KMImageNameToolbarNext = "KMImageNameToolbarNext"; let KMImageNameToolbarTools = "KMImageNameToolbarTools"; let KMImageNameToolbarPageEdit = "KMImageNameToolbarPageEdit"; let KMImageNameToolbarEdit = "KMImageNameToolbarEdit"; let KMImageNameToolbarConvert = "KMImageNameToolbarConvert"; let KMImageNameToolbarSettings = "KMImageNameToolbarSettings"; let KMImageNameToolbarShare = "KMImageNameToolbarShare"; let KMImageNameToolbarBack = "KMImageNameToolbarBack"; let KMImageNameToolbarForward = "KMImageNameToolbarForward"; let KMImageNameToolbarFirst = "KMImageNameToolbarFirst"; let KMImageNameToolbarLast = "KMImageNameToolbarLast"; let KMImageNameToolbarInfo = "KMImageNameToolbarInfo"; let KMImageNameToolbarLines = "KMImageNameToolbarLines"; let KMImageNameToolbarFont = "KMImageNameToolbarFont"; let KMImageNameToolbarPrint = "KMImageNameToolbarPrint"; let KMImageNameToolbarPlay = "KMImageNameToolbarPlay"; let KMImageNameToolbarHome = "KMImageNameToolbarHome"; let KMImageNameToolbarForm = "KMImageNameToolbarForm"; let KMImageNameToolbarSelfSign = "KMImageNameToolbarSelfSign"; let KMImageNameToolbarTextEdit = "KMImageNameToolbarTextEdit"; let KMImageNameToolbarLeftPanelSelected = "KMImageNameToolbarLeftPanelSelected"; let KMImageNameToolbarRightPanelSelected = "KMImageNameToolbarRightPanelSelected"; let KMImageNameToolbarToolsSelected = "KMImageNameToolbarToolsSelected"; let KMImageNameToolbarSettingsSelected = "KMImageNameToolbarSettingsSelected"; let KMImageNameToolbarPageEditSelected = "KMImageNameToolbarPageEditSelected"; let KMImageNameToolbarConvertSelected = "KMImageNameToolbarConvertSelected"; let KMImageNameToolbarEditSelected = "KMImageNameToolbarEditSelected"; let KMImageNameToolbarHomeSelected = "KMImageNameToolbarHomeSelected"; let KMImageNameToolbarFormSelected = "KMImageNameToolbarFormSelected"; let KMImageNameToolbarSelfSignSelected = "KMImageNameToolbarSelfSignSelected"; let KMImageNameToolbarTextEditSelected = "KMImageNameToolbarTextEditSelected"; let KMImageNameToolbarHand = "KMImageNameToolbarHand"; let KMImageNameToolbarZoom = "KMImageNameToolbarZoom"; let KMImageNameToolbarSelect = "KMImageNameToolbarSelect"; let KMImageNameToolbarSelectZoom = "KMImageNameToolbarSelectZoom"; let KMImageNameToolbarHighlight = "KMImageNameToolbarHighlight"; let KMImageNameToolbarUnderline = "KMImageNameToolbarUnderline"; let KMImageNameToolbarStrickout = "KMImageNameToolbarStrickout"; let KMImageNameToolbarInk = "KMImageNameToolbarInk"; let KMImageNameToolbarFreeText = "KMImageNameToolbarFreeText"; let KMImageNameToolbarNote = "KMImageNameToolbarNote"; let KMImageNameToolbarSquare = "KMImageNameToolbarSquare"; let KMImageNameToolbarCircle = "KMImageNameToolbarCircle"; let KMImageNameToolbarArrow = "KMImageNameToolbarArrow"; let KMImageNameToolbarLine = "KMImageNameToolbarLine"; let KMImageNameToolbarLink = "KMImageNameToolbarLink"; let KMImageNameToolbarStamp = "KMImageNameToolbarStamp"; let KMImageNameToolbarImage = "KMImageNameToolbarImage"; let KMImageNameToolbarSign = "KMImageNameToolbarSign"; let KMImageNameToolbarSet = "KMImageNameToolbarSet"; let KMImageNameToolbarSpace = "KMImageNameToolbarSpace"; let KMImageNameToolbarInsert = "KMImageNameToolbarInsert"; let KMImageNameToolbarMerge = "KMImageNameToolbarMerge"; let KMImageNameToolbarReplace = "KMImageNameToolbarReplace"; let KMImageNameToolbarExtract = "KMImageNameToolbarExtract"; let KMImageNameToolbarSplit = "KMImageNameToolbarSplit"; let KMImageNameToolbarRotate = "KMImageNameToolbarRotate"; let KMImageNameToolbarPaste = "KMImageNameToolbarPaste"; let KMImageNameToolbarCopy = "KMImageNameToolbarCopy"; let KMImageNameToolbarDelete = "KMImageNameToolbarDelete"; let KMImageNameToolbarReverse = "KMImageNameToolbarReverse"; let KMImageNameToolbarCompress = "KMImageNameToolbarCompress"; let KMImageNameToolbarSercurity = "KMImageNameToolbarSercurity"; let KMImageNameToolbarWatermark = "KMImageNameToolbarWatermark"; let KMImageNameToolbarBackground = "KMImageNameToolbarBackground"; let KMImageNameToolbarHeaderFooter = "KMImageNameToolbarHeaderFooter"; let KMImageNameToolbarBates = "KMImageNameToolbarBates"; let KMImageNameToolbarPDFToWord = "KMImageNameToolbarPDFToWord"; let KMImageNameToolbarPDFToHtml = "KMImageNameToolbarPDFToHtml"; let KMImageNameToolbarPDFToText = "KMImageNameToolbarPDFToText"; let KMImageNameToolbarPDFToImage = "KMImageNameToolbarPDFToImage"; let KMImageNameToolbarImageToPDF = "KMImageNameToolbarImageToPDF"; let KMImageNameToolbarThemes = "KMImageNameToolbarThemes"; let KMImageNameToolbarTurning = "KMImageNameToolbarTurning"; let KMImageNameToolbarSplitScreen = "KMImageNameToolbarSplitScreen"; let KMImageNameToolbarBreaks = "KMImageNameToolbarBreaks"; let KMImageNameToolbarRotateRight = "KMImageNameToolbarRotateRight"; let KMImageNameToolbarRotateLeft = "KMImageNameToolbarRotateLeft"; let KMImageNameToolbarCrop = "KMImageNameToolbarCrop"; let KMImageNameToolbarSnapshots = "KMImageNameToolbarSnapshots"; let KMImageNamePanelContent = "KMImageNamePanelContent"; let KMImageNamePanelRange = "KMImageNamePanelRange"; let KMImageNamePanelAdd = "KMImageNamePanelAdd"; let KMImageNamePanelDelete = "KMImageNamePanelDelete"; let KMImageNamePanelFilter = "KMImageNamePanelFilter"; let KMImageNamePanelExport = "KMImageNamePanelExport"; let KMImageNamePanelPrint = "KMImageNamePanelPrint"; let KMImageNamePanelSettings = "KMImageNamePanelSettings"; let KMImageNameHomeDelete = "KMImageNameHomeDelete"; let KMImageNameHomeDeleteHover = "KMImageNameHomeDeleteHover"; let KMImageNameFormTextField = "KMImageNameFormTextField"; let KMImageNameFormTable = "KMImageNameFormTable"; let KMImageNameFormRadio = "KMImageNameFormRadio"; let KMImageNameFormList = "KMImageNameFormList"; let KMImageNameFormComboBox = "KMImageNameFormComboBox"; let KMImageNameFormCheckBox = "KMImageNameFormCheckBox"; let KMImageNameFormActionButton = "KMImageNameFormActionButton"; let KMImageNameFormSignature = "KMImageNameFormSignature"; let KMImageNameFormSegmentation = "KMImageNameFormSegmentation"; let KMImageNameFormAlignment = "KMImageNameFormAlignment"; let KMImageNameSelfSignCircle = "KMImageNameSelfSignCircle"; let KMImageNameSelfSignCircleMouse = "KMImageNameSelfSignCircleMouse"; let KMImageNameSelfSignCircleSel = "KMImageNameSelfSignCircleSel"; let KMImageNameSelfSignDot = "KMImageNameSelfSignDot"; let KMImageNameSelfSignDotSel = "KMImageNameSelfSignDotSel"; let KMImageNameSelfSignFalse = "KMImageNameSelfSignFalse"; let KMImageNameSelfSignFalseMouse = "KMImageNameSelfSignFalseMouse"; let KMImageNameSelfSignFalseSel = "KMImageNameSelfSignFalseSel"; let KMImageNameSelfSignTure = "KMImageNameSelfSignTure"; let KMImageNameSelfSignTureMouse = "KMImageNameSelfSignTureMouse"; let KMImageNameSelfSignTureSel = "KMImageNameSelfSignTureSel"; let KMImageNameSelfSignLine = "KMImageNameSelfSignLine"; let KMImageNameSelfSignLineSel = "KMImageNameSelfSignLineSel"; let KMImageNameSelfSignLineMouse = "KMImageNameSelfSignLineMouse"; let KMImageNameSelfSignDotMouse = "KMImageNameSelfSignDotMouse"; let KMImageNameSelfSignProfile = "KMImageNameSelfSignProfile"; let KMImageNameSelfSignDate = "KMImageNameSelfSignDate"; let KMImageNameSelfSignDateMouse = "KMImageNameSelfSignDateMouse"; let KMImageNameSplitOne = "KMImageNameSplitOne"; let KMImageNameSplitOneSelect = "KMImageNameSplitOneSelect"; let KMImageNameSplitHorizontal = "KMImageNameSplitHorizontal"; let KMImageNameSplitHorizontalSelect = "KMImageNameSplitHorizontalSelect"; let KMImageNameSplitVertical = "KMImageNameSplitVertical"; let KMImageNameSplitVerticalSelect = "KMImageNameSplitVerticalSelect"; //UX 改版 //Home let KMImageNameUXIconHomeGuideNor = "KMImageNameUXIconHomeGuideNor"; let KMImageNameUXIconHomeGuidePre = "KMImageNameUXIconHomeGuidePre"; let KMImageNameUXIconHomeIosNor = "KMImageNameUXIconHomeIosNor"; let KMImageNameUXIconHomeIosPre = "KMImageNameUXIconHomeIosPre"; let KMImageNameUXIconHomeViewlistNor = "KMImageNameUXIconHomeViewlistNor"; let KMImageNameUXIconHomeViewlistPre = "KMImageNameUXIconHomeViewlistPre"; let KMImageNameUXIconHomeViewthumbnailNor = "KMImageNameUXIconHomeViewthumbnailNor"; let KMImageNameUXIconHomeViewthumbnailPre = "KMImageNameUXIconHomeViewthumbnailPre"; let KMImageNameUXIconHomeQuicktoolBackgroundNor = "KMImageNameUXIconHomeQuicktoolBackgroundNor"; let KMImageNameUXIconHomeQuicktoolBatchNor = "KMImageNameUXIconHomeQuicktoolBatchNor"; let KMImageNameUXIconHomeQuicktoolComprison = "KMImageNameUXIconHomeQuicktoolComprison"; let KMImageNameUXIconHomeQuicktoolBatesNor = "KMImageNameUXIconHomeQuicktoolBatesNor"; let KMImageNameUXIconHomeQuicktoolBookNor = "KMImageNameUXIconHomeQuicktoolBookNor"; let KMImageNameUXIconHomeQuicktoolConvertNor = "KMImageNameUXIconHomeQuicktoolConvertNor"; let KMImageNameUXIconHomeQuicktoolExcelNor = "KMImageNameUXIconHomeQuicktoolExcelNor"; let KMImageNameUXIconHomeQuicktoolExtractNor = "KMImageNameUXIconHomeQuicktoolExtractNor"; let KMImageNameUXIconHomeQuicktoolHeaderandfooterNor = "KMImageNameUXIconHomeQuicktoolHeaderandfooterNor"; let KMImageNameUXIconHomeQuicktoolInsertNor = "KMImageNameUXIconHomeQuicktoolInsertNor"; let KMImageNameUXIconHomeQuicktoolMergeNor = "KMImageNameUXIconHomeQuicktoolMergeNor"; let KMImageNameUXIconHomeQuicktoolMultipageNor = "KMImageNameUXIconHomeQuicktoolMultipageNor"; let KMImageNameUXIconHomeQuicktoolOcrNor = "KMImageNameUXIconHomeQuicktoolOcrNor"; let KMImageNameUXIconHomeQuicktoolOptimizeNor = "KMImageNameUXIconHomeQuicktoolOptimizeNor"; let KMImageNameUXIconHomeQuicktoolPageeditNor = "KMImageNameUXIconHomeQuicktoolPageeditNor"; let KMImageNameUXIconHomeQuicktoolPdftoimgNor = "KMImageNameUXIconHomeQuicktoolPdftoimgNor"; let KMImageNameUXIconHomeQuicktoolPosterNor = "KMImageNameUXIconHomeQuicktoolPosterNor"; let KMImageNameUXIconHomeQuicktoolPPTNor = "KMImageNameUXIconHomeQuicktoolPPTNor"; let KMImageNameUXIconHomeQuicktoolSafeNor = "KMImageNameUXIconHomeQuicktoolSafeNor"; let KMImageNameUXIconHomeQuicktoolSplitNor = "KMImageNameUXIconHomeQuicktoolSplitNor"; let KMImageNameUXIconHomeQuicktoolWatermarkNor = "KMImageNameUXIconHomeQuicktoolWatermarkNor"; let KMImageNameUXIconHomeQuicktoolWordNor = "KMImageNameUXIconHomeQuicktoolWordNor"; let KMImageNameUXIconHomeRemoveNor = "KMImageNameUXIconHomeRemoveNor"; let KMImageNameUXIconHomeRemoveHov = "KMImageNameUXIconHomeRemoveHov"; //Batch let KMImageNameUXIconBatchBackground = "KMImageNameUXIconBatchBackground"; let KMImageNameUXIconBatchBates = "KMImageNameUXIconBatchBates"; let KMImageNameUXIconBatchConvert = "KMImageNameUXIconBatchConvert"; let KMImageNameUXIconBatchConvertOCR = "KMImageNameUXIconBatchConvertOCR"; let KMImageNameUXIconBatchHeaderandfooter = "KMImageNameUXIconBatchHeaderandfooter"; let KMImageNameUXIconBatchMerge = "KMImageNameUXIconBatchMerge"; let KMImageNameUXIconBatchOptimize = "KMImageNameUXIconBatchOptimize"; let KMImageNameUXIconBatchComparison = "KMImageNameUXIconBatchComparison"; let KMImageNameUXIconBatchSafe = "KMImageNameUXIconBatchSafe"; let KMImageNameUXIconBatchWatermark = "KMImageNameUXIconBatchWatermark"; //Toolbar let KMImageNameUXIconToolbarConvertNor = "KMImageNameUXIconToolbarConvertNor"; let KMImageNameUXIconToolbarConvertSel = "KMImageNameUXIconToolbarConvertSel"; let KMImageNameUXIconToolbarEditNor = "KMImageNameUXIconToolbarEditNor"; let KMImageNameUXIconToolbarEditSel = "KMImageNameUXIconToolbarEditSel"; let KMImageNameUXIconToolbarRedactNor = "KMImageNameUXIconToolbarRedactNor"; let KMImageNameUXIconToolbarRedactSel = "KMImageNameUXIconToolbarRedactSel"; let KMImageNameUXIconToolbarEdittoolNor = "KMImageNameUXIconToolbarEdittoolNor"; let KMImageNameUXIconToolbarEdittoolSel = "KMImageNameUXIconToolbarEdittoolSel"; let KMImageNameUXIconToolbarFillsignNor = "KMImageNameUXIconToolbarFillsignNor"; let KMImageNameUXIconToolbarFillsignSel = "KMImageNameUXIconToolbarFillsignSel"; let KMImageNameUXIconToolbarFormNor = "KMImageNameUXIconToolbarFormNor"; let KMImageNameUXIconToolbarFormSel = "KMImageNameUXIconToolbarFormSel"; let KMImageNameUXIconToolbarMytoolsNor = "KMImageNameUXIconToolbarMytoolsNor"; let KMImageNameUXIconToolbarMytoolsSel = "KMImageNameUXIconToolbarMytoolsSel"; let KMImageNameUXIconToolbarPageeditNor = "KMImageNameUXIconToolbarPageeditNor"; let KMImageNameUXIconToolbarPageeditSel = "KMImageNameUXIconToolbarPageeditSel"; let KMImageNameUXIconToolbarPageviewNor = "KMImageNameUXIconToolbarPageviewNor"; let KMImageNameUXIconToolbarPageviewSel = "KMImageNameUXIconToolbarPageviewSel"; let KMImageNameUXIconToolbarShareNor = "KMImageNameUXIconToolbarShareNor"; let KMImageNameUXIconToolbarShareSel = "KMImageNameUXIconToolbarShareSel"; let KMImageNameUXIconToolbarZoominNor = "KMImageNameUXIconToolbarZoominNor"; let KMImageNameUXIconToolbarZoominSel = "KMImageNameUXIconToolbarZoominSel"; let KMImageNameUXIconToolbarZoomoutNor = "KMImageNameUXIconToolbarZoomoutNor"; let KMImageNameToolbarZoomoutPre = "KMImageNameToolbarZoomoutPre"; let KMImageNameToolbarBackwardNor = "KMImageNameToolbarBackwardNor"; let KMImageNameToolbarBackwardSel = "KMImageNameToolbarBackwardSel"; let KMImageNameToolbarFirstpageNor = "KMImageNameToolbarFirstpageNor"; let KMImageNameToolbarFirstpageSel = "KMImageNameToolbarFirstpageSel"; let KMImageNameToolbarForwardNor = "KMImageNameToolbarForwardNor"; let KMImageNameToolbarForwardSel = "KMImageNameToolbarForwardSel"; let KMImageNameToolbarHomeNor = "KMImageNameToolbarHomeNor"; let KMImageNameToolbarHomeSel = "KMImageNameToolbarHomeSel"; let KMImageNameToolbarLastpageNor = "KMImageNameToolbarLastpageNor"; let KMImageNameToolbarLastpageSel = "KMImageNameToolbarLastpageSel"; let KMImageNameToolbarPagenextNor = "KMImageNameToolbarPagenextNor"; let KMImageNameToolbarPagenextSel = "KMImageNameToolbarPagenextSel"; let KMImageNameToolbarPagepreviousNor = "KMImageNameToolbarPagepreviousNor"; let KMImageNameToolbarPagepreviousSel = "KMImageNameToolbarPagepreviousSel"; let KMImageNameToolbarSlideshowNor = "KMImageNameToolbarSlideshowNor"; let KMImageNameToolbarSlideshowSel = "KMImageNameToolbarSlideshowSel"; let KMImageNameToolbarFontNor = "KMImageNameToolbarFontNor"; let KMImageNameToolbarFontSel = "KMImageNameToolbarFontSel"; let KMImageNameToolbarInfoNor = "KMImageNameToolbarInfoNor"; let KMImageNameToolbarInfoSel = "KMImageNameToolbarInfoSel"; let KMImageNameToolbarOCRNor = "KMImageNameToolbarOCRNor"; let KMImageNameToolbarOCRSel = "KMImageNameToolbarOCRSel"; let KMImageNameToolbarPrintNor = "KMImageNameToolbarPrintNor"; let KMImageNameToolbarPrintSel = "KMImageNameToolbarPrintSel"; let KMImageNameToolbarStirkeNor = "KMImageNameToolbarStirkeNor"; let KMImageNameToolbarStirkeSel = "KMImageNameToolbarStirkeSel"; //ic_Subtoolbar let KMImageNameUXIconSubtoolbarConvertCreatPDF = "KMImageNameUXIconSubtoolbarConvertCreatpdf"; let KMImageNameUXIconSubtoolbarConvertCSV = "KMImageNameUXIconSubtoolbarConvertCSV"; let KMImageNameUXIconSubtoolbarConvertExcel = "KMImageNameUXIconSubtoolbarConvertExcel"; let KMImageNameUXIconSubtoolbarConvertHtml = "KMImageNameUXIconSubtoolbarConvertHtml"; let KMImageNameUXIconSubtoolbarConvertOCR = "KMImageNameUXIconSubtoolbarConvertOCR"; let KMImageNameUXIconSubtoolbarConvertPDFToIMG = "KMImageNameUXIconSubtoolbarConvertPDFToIMG"; let KMImageNameUXIconSubtoolbarConvertExportImage = "KMImageNameUXIconSubtoolbarConvertExportImage"; let KMImageNameUXIconSubtoolbarConvertPPT = "KMImageNameUXIconSubtoolbarConvertPPT"; let KMImageNameUXIconSubtoolbarConvertRTF = "KMImageNameUXIconSubtoolbarConvertRTF"; let KMImageNameUXIconSubtoolbarConvertText = "KMImageNameUXIconSubtoolbarConvertText"; let KMImageNameUXIconSubtoolbarConvertWord = "KMImageNameUXIconSubtoolbarConvertWord"; let KMImageNameUXIconSubtoolbarDisplaySnapshot = "KMImageNameUXIconSubtoolbarDisplaySnapshot"; let KMImageNameUXIconSubtoolbarDisplayTailor = "KMImageNameUXIconSubtoolbarDisplayTailor"; let KMImageNameUXIconSubtoolbarDisplayTTS = "KMImageNameUXIconSubtoolbarDisplayTTS"; let KMImageNameUXIconSubtoolbarDisplayView = "KMImageNameUXIconSubtoolbarDisplayView"; let KMImageNameUXIconSubtoolbarEdittoolRemovepassword = "KMImageNameUXIconSubtoolbarEdittoolRemovepassword"; let KMImageNameUXIconSubtoolbarEdittoolSafe = "KMImageNameUXIconSubtoolbarEdittoolSafe"; let KMImageNameUXIconSubtoolbarFillsignDate = "KMImageNameUXIconSubtoolbarFillsignDate"; let KMImageNameUXIconSubtoolbarFillsignDigitalsignature = "KMImageNameUXIconSubtoolbarFillsignDigitalsignature"; let KMImageNameUXIconSubtoolbarFillsignFork = "KMImageNameUXIconSubtoolbarFillsignFork"; let KMImageNameUXIconSubtoolbarFillsignLine = "KMImageNameUXIconSubtoolbarFillsignLine"; let KMImageNameUXIconSubtoolbarFillsignMyprofile = "KMImageNameUXIconSubtoolbarFillsignMyprofile"; let KMImageNameUXIconSubtoolbarFillsignMysignature = "KMImageNameUXIconSubtoolbarFillsignMysignature"; let KMImageNameUXIconSubtoolbarFillsignPoint = "KMImageNameUXIconSubtoolbarFillsignPoint"; let KMImageNameButtonRedactText = "KMImageNameButtonRedactText"; let KMImageNameUXIconSubtoolbarFillsignRoundedrec = "KMImageNameUXIconSubtoolbarFillsignRoundedrec"; let KMImageNameUXIconSubtoolbarFillsignTick = "KMImageNameUXIconSubtoolbarFillsignTick"; let KMImageNameUXIconSubtoolbarFormButton = "KMImageNameUXIconSubtoolbarFormButton"; let KMImageNameUXIconSubtoolbarFormCheckbox = "KMImageNameUXIconSubtoolbarFormCheckbox"; let KMImageNameUXIconSubtoolbarFormListbox = "KMImageNameUXIconSubtoolbarFormListbox"; let KMImageNameUXIconSubtoolbarFormPulldownmenu = "KMImageNameUXIconSubtoolbarFormPulldownmenu"; let KMImageNameUXIconSubtoolbarFormRadiobutton = "KMImageNameUXIconSubtoolbarFormRadiobutton"; let KMImageNameUXIconSubtoolbarFormSet = "KMImageNameUXIconSubtoolbarFormSet"; let KMImageNameUXIconSubtoolbarFormSign = "KMImageNameUXIconSubtoolbarFormSign"; let KMImageNameUXIconSubtoolbarFormClear = "KMImageNameUXIconSubtoolbarFormClear"; let KMImageNameUXIconSubtoolbarFormTextfield = "KMImageNameUXIconSubtoolbarFormTextfield"; let KMImageNameUXIconSubtoolbarMytoolsAreazoom = "KMImageNameUXIconSubtoolbarMytoolsAreazoom"; let KMImageNameUXIconSubtoolbarMytoolsArrow = "KMImageNameUXIconSubtoolbarMytoolsArrow"; let KMImageNameUXIconSubtoolbarMytoolsContentsel = "KMImageNameUXIconSubtoolbarMytoolsContentsel"; let KMImageNameUXIconSubtoolbarMytoolsHighlight = "KMImageNameUXIconSubtoolbarMytoolsHighlight"; let KMImageNameUXIconSubtoolbarMytoolsImage = "KMImageNameUXIconSubtoolbarMytoolsImage"; let KMImageNameUXIconSubtoolbarMytoolsLine = "KMImageNameUXIconSubtoolbarMytoolsLine"; let KMImageNameUXIconSubtoolbarMytoolsLink = "KMImageNameUXIconSubtoolbarMytoolsLink"; let KMImageNameUXIconSubtoolbarMytoolsMagnifier = "KMImageNameUXIconSubtoolbarMytoolsMagnifier"; let KMImageNameUXIconSubtoolbarMytoolsNote = "KMImageNameUXIconSubtoolbarMytoolsNote"; let KMImageNameUXIconSubtoolbarMytoolsOval = "KMImageNameUXIconSubtoolbarMytoolsOval"; let KMImageNameUXIconSubtoolbarMytoolsPantool = "KMImageNameUXIconSubtoolbarMytoolsPantool"; let KMImageNameUXIconSubtoolbarMytoolsPen = "KMImageNameUXIconSubtoolbarMytoolsPen"; let KMImageNameUXIconSubtoolbarMytoolsRec = "KMImageNameUXIconSubtoolbarMytoolsRec"; let KMImageNameUXIconSubtoolbarMytoolsSign = "KMImageNameUXIconSubtoolbarMytoolsSign"; let KMImageNameUXIconSubtoolbarMytoolsStamp = "KMImageNameUXIconSubtoolbarMytoolsStamp"; let KMImageNameUXIconSubtoolbarMytoolsStrikeout = "KMImageNameUXIconSubtoolbarMytoolsStrikeout"; let KMImageNameUXIconSubtoolbarMytoolsTable = "KMImageNameUXIconSubtoolbarMytoolsTable"; let KMImageNameUXIconSubtoolbarMytoolsText = "KMImageNameUXIconSubtoolbarMytoolsText"; let KMImageNameUXIconSubtoolbarMytoolsUnderline = "KMImageNameUXIconSubtoolbarMytoolsUnderline"; let KMImageNameUXIconSubtoolbarPageCopy = "KMImageNameUXIconSubtoolbarPageCopy"; let KMImageNameUXIconSubtoolbarPageDelete = "KMImageNameUXIconSubtoolbarPageDelete"; let KMImageNameUXIconSubtoolbarPageExtract = "KMImageNameUXIconSubtoolbarPageExtract"; let KMImageNameUXIconSubtoolbarPageInsert = "KMImageNameUXIconSubtoolbarPageInsert"; let KMImageNameUXIconSubtoolbarPagePaste = "KMImageNameUXIconSubtoolbarPagePaste"; let KMImageNameUXIconSubtoolbarPageRange = "KMImageNameUXIconSubtoolbarPageRange"; let KMImageNameUXIconSubtoolbarPageReverse = "KMImageNameUXIconSubtoolbarPageReverse"; let KMImageNameUXIconSubtoolbarPageRotate = "KMImageNameUXIconSubtoolbarPageRotate"; let KMImageNameUXIconSubtoolbarPageSplit = "KMImageNameUXIconSubtoolbarPageSplit"; let KMImageNameUXIconSubtoolbarPageTailor = "KMImageNameUXIconSubtoolbarPageTailor"; //ic_Sidetabbar let KMImageNameUXIconSidetabbarAnnotationNor = "KMImageNameUXIconSidetabbarAnnotationNor"; let KMImageNameUXIconSidetabbarAnnotationSel = "KMImageNameUXIconSidetabbarAnnotationSel"; let KMImageNameUXIconSidetabbarOutlineNor = "KMImageNameUXIconSidetabbarOutlineNor"; let KMImageNameUXIconSidetabbarOutlineSel = "KMImageNameUXIconSidetabbarOutlineSel"; let KMImageNameUXIconSidetabbarSearchNor = "KMImageNameUXIconSidetabbarSearchNor"; let KMImageNameUXIconSidetabbarSearchSel = "KMImageNameUXIconSidetabbarSearchSel"; let KMImageNameUXIconSidetabbarSnapshotNor = "KMImageNameUXIconSidetabbarSnapshotNor"; let KMImageNameUXIconSidetabbarSnapshotSel = "KMImageNameUXIconSidetabbarSnapshotSel"; let KMImageNameUXIconSidetabbarThumbnailNor = "KMImageNameUXIconSidetabbarThumbnailNor"; let KMImageNameUXIconSidetabbarThumbnailSel = "KMImageNameUXIconSidetabbarThumbnailSel"; //ic_Sidebar let KMImageNameUXIconSidebarAnnotationFilterHightlightNor = "KMImageNameUXIconSidebarAnnotationFilterHightlightNor"; let KMImageNameUXIconSidebarAnnotationFilterHightlightWhite = "KMImageNameUXIconSidebarAnnotationFilterHightlightWhite"; let KMImageNameUXIconSidebarAnnotationFilterOvalNor = "KMImageNameUXIconSidebarAnnotationFilterOvalNor"; let KMImageNameUXIconSidebarAnnotationFilterOvalWhite = "KMImageNameUXIconSidebarAnnotationFilterOvalWhite"; let KMImageNameUXIconSidebarAnnotationFilterStampNor = "KMImageNameUXIconSidebarAnnotationFilterStampNor"; let KMImageNameUXIconSidebarAnnotationFilterStampWhite = "KMImageNameUXIconSidebarAnnotationFilterStampWhite"; let KMImageNameUXIconSidebarAnnotationFilterTextNor = "KMImageNameUXIconSidebarAnnotationFilterTextNor"; let KMImageNameUXIconSidebarAnnotationFilterTextWhite = "KMImageNameUXIconSidebarAnnotationFilterTextWhite"; let KMImageNameUXIconSidebarAnnotationFilterUnderlineNor = "KMImageNameUXIconSidebarAnnotationFilterUnderlineNor"; let KMImageNameUXIconSidebarAnnotationFilterUnderlineWhite = "KMImageNameUXIconSidebarAnnotationFilterUnderlineWhite"; let KMImageNameUXIconSidebarAnnotationHightlight = "KMImageNameUXIconSidebarAnnotationHightlight"; let KMImageNameUXIconSidebarAnnotationOval = "KMImageNameUXIconSidebarAnnotationOval"; let KMImageNameUXIconSidebarAnnotationStamp = "KMImageNameUXIconSidebarAnnotationStamp"; let KMImageNameUXIconSidebarAnnotationText = "KMImageNameUXIconSidebarAnnotationText"; let KMImageNameUXIconSidebarAnnotationUnderline = "KMImageNameUXIconSidebarAnnotationUnderline"; let KMImageNameUXIconSidebarFormButton = "KMImageNameUXIconSidebarFormButton"; let KMImageNameUXIconSidebarFormCheckbox = "KMImageNameUXIconSidebarFormCheckbox"; let KMImageNameUXIconSidebarFormListbox = "KMImageNameUXIconSidebarFormListbox"; let KMImageNameUXIconSidebarFormPulldownmenu = "KMImageNameUXIconSidebarFormPulldownmenu"; let KMImageNameUXIconSidebarFormRadiobutton = "KMImageNameUXIconSidebarFormRadiobutton"; let KMImageNameUXIconSidebarFormSign = "KMImageNameUXIconSidebarFormSign"; let KMImageNameUXIconSidebarFormTextfield = "KMImageNameUXIconSidebarFormTextfield"; let KMImageNameUXIconSidebarSnapshotWindowNor = "KMImageNameUXIconSidebarSnapshotWindowNor"; let KMImageNameUXIconSidebarSnapshotWindowSel = "KMImageNameUXIconSidebarSnapshotWindowSel"; let KMImageNameSidebarAnnotationLink = "KMImageNameSidebarAnnotationLink"; let KMImageNameSidebarAnnotationImage = "KMImageNameSidebarAnnotationImage"; let KMImageNameSidebarAnnotationSign = "KMImageNameSidebarAnnotationSign"; let KMImageNameSidebarAnnotationTable = "KMImageNameSidebarAnnotationTable"; let KMImageNameSidebarAnnotationMarkup = "KMImageNameSidebarAnnotationMarkup"; let KMImageNameSidebarAnnotationNote = "KMImageNameSidebarAnnotationNote"; //ic_Propertybar let KMImageNameUXIconPropertybarAlignDownNor = "KMImageNameUXIconPropertybarAlignDownNor"; let KMImageNameUXIconPropertybarAlignDownPre = "KMImageNameUXIconPropertybarAlignDownPre"; let KMImageNameUXIconPropertybarAlignHorcenterNor = "KMImageNameUXIconPropertybarAlignHorcenterNor"; let KMImageNameUXIconPropertybarAlignHorcenterPre = "KMImageNameUXIconPropertybarAlignHorcenterPre"; let KMImageNameUXIconPropertybarAlignHorsplitNor = "KMImageNameUXIconPropertybarAlignHorsplitNor"; let KMImageNameUXIconPropertybarAlignHorsplitPre = "KMImageNameUXIconPropertybarAlignHorsplitPre"; let KMImageNameUXIconPropertybarAlignLeftNor = "KMImageNameUXIconPropertybarAlignLeftNor"; let KMImageNameUXIconPropertybarAlignLeftPre = "KMImageNameUXIconPropertybarAlignLeftPre"; let KMImageNameUXIconPropertybarAlignLeftToor = "KMImageNameUXIconPropertybarAlignLeftToor"; let KMImageNameUXIconPropertybarAlignRightNor = "KMImageNameUXIconPropertybarAlignRightNor"; let KMImageNameUXIconPropertybarAlignRightPre = "KMImageNameUXIconPropertybarAlignRightPre"; let KMImageNameUXIconPropertybarAlignUpNor = "KMImageNameUXIconPropertybarAlignUpNor"; let KMImageNameUXIconPropertybarAlignUpPre = "KMImageNameUXIconPropertybarAlignUpPre"; let KMImageNameUXIconPropertybarAlignVercenterNor = "KMImageNameUXIconPropertybarAlignVercenterNor"; let KMImageNameUXIconPropertybarAlignVercenterPre = "KMImageNameUXIconPropertybarAlignVercenterPre"; let KMImageNameUXIconPropertybarAlignVersplitNor = "KMImageNameUXIconPropertybarAlignVersplitNor"; let KMImageNameUXIconPropertybarAlignVersplitPre = "KMImageNameUXIconPropertybarAlignVersplitPre"; let KMImageNameUXIconPropertybarFileElse = "KMImageNameUXIconPropertybarFileElse"; let KMImageNameUXIconPropertybarFileExcel = "KMImageNameUXIconPropertybarFileExcel"; let KMImageNameUXIconPropertybarFileIMG = "KMImageNameUXIconPropertybarFileIMG"; let KMImageNameUXIconPropertybarFilePdf = "KMImageNameUXIconPropertybarFilePdf"; let KMImageNameUXIconPropertybarFilePPT = "KMImageNameUXIconPropertybarFilePPT"; let KMImageNameUXIconPropertybarFileWord = "KMImageNameUXIconPropertybarFileWord"; let KMImageNameUXIconPropertybarFillsignForkNor = "KMImageNameUXIconPropertybarFillsignForkNor"; let KMImageNameUXIconPropertybarFillsignForkSel = "KMImageNameUXIconPropertybarFillsignForkSel"; let KMImageNameUXIconPropertybarFillsignLineNor = "KMImageNameUXIconPropertybarFillsignLineNor"; let KMImageNameUXIconPropertybarFillsignLineSel = "KMImageNameUXIconPropertybarFillsignLineSel"; let KMImageNameUXIconPropertybarFillsignPointNor = "KMImageNameUXIconPropertybarFillsignPointNor"; let KMImageNameUXIconPropertybarFillsignPointSel = "KMImageNameUXIconPropertybarFillsignPointSel"; let KMImageNameUXIconPropertybarFillsignRoundedrecNor = "KMImageNameUXIconPropertybarFillsignRoundedrecNor"; let KMImageNameUXIconPropertybarFillsignRoundedrecSel = "KMImageNameUXIconPropertybarFillsignRoundedrecSel"; let KMImageNameUXIconPropertybarFillsignTickNor = "KMImageNameUXIconPropertybarFillsignTickNor"; let KMImageNameUXIconPropertybarFillsignTickSel = "KMImageNameUXIconPropertybarFillsignTickSel"; let KMImageNameUXIconPropertybarLinkEmail = "KMImageNameUXIconPropertybarLinkEmail"; let KMImageNameUXIconPropertybarLinkPage = "KMImageNameUXIconPropertybarLinkPage"; let KMImageNameUXIconPropertybarLinkUrl = "KMImageNameUXIconPropertybarLinkUrl"; let KMImageNameUXIconPropertybarNoteAnnotationNor = "KMImageNameUXIconPropertybarNoteAnnotationNor"; let KMImageNameUXIconPropertybarNoteAnnotationSel = "KMImageNameUXIconPropertybarNoteAnnotationSel"; let KMImageNameUXIconPropertybarNoteHelpNor = "KMImageNameUXIconPropertybarNoteHelpNor"; let KMImageNameUXIconPropertybarNoteHelpSel = "KMImageNameUXIconPropertybarNoteHelpSel"; let KMImageNameUXIconPropertybarNoteInsertNor = "KMImageNameUXIconPropertybarNoteInsertNor"; let KMImageNameUXIconPropertybarNoteInsertSel = "KMImageNameUXIconPropertybarNoteInsertSel"; let KMImageNameUXIconPropertybarNoteKeywordNor = "KMImageNameUXIconPropertybarNoteKeywordNor"; let KMImageNameUXIconPropertybarNoteKeywordSel = "KMImageNameUXIconPropertybarNoteKeywordSel"; let KMImageNameUXIconPropertybarNoteNewparagraphNor = "KMImageNameUXIconPropertybarNoteNewparagraphNor"; let KMImageNameUXIconPropertybarNoteNewparagraphSel = "KMImageNameUXIconPropertybarNoteNewparagraphSel"; let KMImageNameUXIconPropertybarNoteNotesNor = "KMImageNameUXIconPropertybarNoteNotesNor"; let KMImageNameUXIconPropertybarNoteNotesSel = "KMImageNameUXIconPropertybarNoteNotesSel"; let KMImageNameUXIconPropertybarNoteParagraphNor = "KMImageNameUXIconPropertybarNoteParagraphNor"; let KMImageNameUXIconPropertybarNoteParagraphSel = "KMImageNameUXIconPropertybarNoteParagraphSel"; let KMImageNameUXIconPropertybarRotateClockwiseNor = "KMImageNameUXIconPropertybarRotateClockwiseNor"; let KMImageNameUXIconPropertybarRotateClockwisePre = "KMImageNameUXIconPropertybarRotateClockwisePre"; let KMImageNameUXIconPropertybarRotateCounterclockwiseNor = "KMImageNameUXIconPropertybarRotateCounterclockwiseNor"; let KMImageNameUXIconPropertybarRotateCounterclockwisePre = "KMImageNameUXIconPropertybarRotateCounterclockwisePre"; let KMImageNameUXIconPropertybarTableBottom = "KMImageNameUXIconPropertybarTableBottom"; let KMImageNameUXIconPropertybarTableTitleAbove = "KMImageNameUXIconPropertybarTableTitleAbove"; let KMImageNameUXIconPropertybarTableTitleLeft = "KMImageNameUXIconPropertybarTableTitleLeft"; let KMImageNameUXIconPropertybarTextalignCenterNor = "KMImageNameUXIconPropertybarTextalignCenterNor"; let KMImageNameUXIconPropertybarTextalignCenterSel = "KMImageNameUXIconPropertybarTextalignCenterSel"; let KMImageNameUXIconPropertybarTextalignCenterWhite = "KMImageNameUXIconPropertybarTextalignCenterWhite"; let KMImageNameUXIconPropertybarTextalignJustifyNor = "KMImageNameUXIconPropertybarTextalignJustifyNor"; let KMImageNameUXIconPropertybarTextalignJustifySel = "KMImageNameUXIconPropertybarTextalignJustifySel"; let KMImageNameUXIconPropertybarTextalignJustifyWhite = "KMImageNameUXIconPropertybarTextalignJustifyWhite"; let KMImageNameUXIconPropertybarTextalignLeftNor = "KMImageNameUXIconPropertybarTextalignLeftNor"; let KMImageNameUXIconPropertybarTextalignLeftSel = "KMImageNameUXIconPropertybarTextalignLeftSel"; let KMImageNameUXIconPropertybarTextalignLeftWhite = "KMImageNameUXIconPropertybarTextalignLeftWhite"; let KMImageNameUXIconPropertybarTextalignRightNor = "KMImageNameUXIconPropertybarTextalignRightNor"; let KMImageNameUXIconPropertybarTextalignRightSel = "KMImageNameUXIconPropertybarTextalignRightSel"; let KMImageNameUXIconPropertybarTextalignRightWhite = "KMImageNameUXIconPropertybarTextalignRightWhite"; let KMImageNameUXIconPropertybarViewPagecoverNor = "KMImageNameUXIconPropertybarViewPagecoverNor"; let KMImageNameUXIconPropertybarViewPagecoverSel = "KMImageNameUXIconPropertybarViewPagecoverSel"; let KMImageNameUXIconPropertybarViewPagedoubleNor = "KMImageNameUXIconPropertybarViewPagedoubleNor"; let KMImageNameUXIconPropertybarViewPagedoubleSel = "KMImageNameUXIconPropertybarViewPagedoubleSel"; let KMImageNameUXIconPropertybarViewPagereadingNor = "KMImageNameUXIconPropertybarViewPagereadingNor"; let KMImageNameUXIconPropertybarViewPagereadingSel = "KMImageNameUXIconPropertybarViewPagereadingSel"; let KMImageNameUXIconPropertybarViewPagesingleNor = "KMImageNameUXIconPropertybarViewPagesingleNor"; let KMImageNameUXIconPropertybarViewPagesingleSel = "KMImageNameUXIconPropertybarViewPagesingleSel"; let KMImageNameUXIconPropertybarViewSplitscreenhorNor = "KMImageNameUXIconPropertybarViewSplitscreenhorNor"; let KMImageNameUXIconPropertybarViewSplitscreenhorSel = "KMImageNameUXIconPropertybarViewSplitscreenhorSel"; let KMImageNameUXIconPropertybarViewSplitscreensingleNor = "KMImageNameUXIconPropertybarViewSplitscreensingleNor"; let KMImageNameUXIconPropertybarViewSplitscreensingleSel = "KMImageNameUXIconPropertybarViewSplitscreensingleSel"; let KMImageNameUXIconPropertybarViewSplitscreenverNor = "KMImageNameUXIconPropertybarViewSplitscreenverNor"; let KMImageNameUXIconPropertybarViewSplitscreenverSel = "KMImageNameUXIconPropertybarViewSplitscreenverSel"; let KMImageNameUXIconPropertybarFileHTML = "KMImageNameUXIconPropertybarFileHTML"; let KMImageNameUXIconPropertybarFileCSV = "KMImageNameUXIconPropertybarFileCSV"; let KMImageNameUXIconPropertybarFileTXT = "KMImageNameUXIconPropertybarFileTXT"; let KMImageNameUXIconPropertybarFileJPEG = "KMImageNameUXIconPropertybarFileJPEG"; let KMImageNameUXIconPropertybarFileJPG = "KMImageNameUXIconPropertybarFileJPG"; let KMImageNameUXIconPropertybarFilePNG = "KMImageNameUXIconPropertybarFilePNG"; let KMImageNameUXIconPropertybarFileGIF = "KMImageNameUXIconPropertybarFileGIF"; let KMImageNameUXIconPropertybarFileTIFF = "KMImageNameUXIconPropertybarFileTIFF"; let KMImageNameUXIconPropertybarFileTGA = "KMImageNameUXIconPropertybarFileTGA"; let KMImageNameUXIconPropertybarFileBMP = "KMImageNameUXIconPropertybarFileBMP"; let KMImageNameUXIconPropertybarFileJP2 = "KMImageNameUXIconPropertybarFileJP2"; //ic_Cursors let KMImageNameUXIconCursorsText = "KMImageNameUXIconCursorsText"; //ic_Progress let KMImageNameUXIconProgressComplete = "KMImageNameUXIconProgressComplete"; let KMImageNameUXIconProgressFailure = "KMImageNameUXIconProgressFailure"; let KMImageNameUXIconProgressWaiting = "KMImageNameUXIconProgressWaiting"; //ic_Vip let KMImageNameUXIconVip = "KMImageNameUXIconVip"; //ic_Btn let KMImageNameUXIconBtnAddHov = "KMImageNameUXIconBtnAddHov"; let KMImageNameUXIconBtnAddNor = "KMImageNameUXIconBtnAddNor"; let KMImageNameUXIconBtnAddWhite = "KMImageNameUXIconBtnAddWhite"; let KMImageNameUXIconBtnArrowDown = "KMImageNameUXIconBtnArrowDown"; let KMImageNameUXIconBtnArrowLeft = "KMImageNameUXIconBtnArrowLeft"; let KMImageNameUXIconBtnArrowRight = "KMImageNameUXIconBtnArrowRight"; let KMImageNameUXIconBtnArrowUp = "KMImageNameUXIconBtnArrowUp"; let KMImageNameUXIconBtnArrowUpdown = "KMImageNameUXIconBtnArrowUpdown"; let KMImageNameUXIconBtnCheckboxDis = "KMImageNameUXIconBtnCheckboxDis"; let KMImageNameUXIconBtnCheckboxSel = "KMImageNameUXIconBtnCheckboxSel"; let KMImageNameUXIconBtnClear = "KMImageNameUXIconBtnClear"; let KMImageNameUXIconBtnCloseHov = "KMImageNameUXIconBtnCloseHov"; let KMImageNameUXIconBtnCloseNor = "KMImageNameUXIconBtnCloseNor"; let KMImageNameUXIconBtnCloseWhite = "KMImageNameUXIconBtnCloseWhite"; let KMImageNameUXIconBtnColor = "KMImageNameUXIconBtnColor"; let KMImageNameUXIconBtnDeletAccent = "KMImageNameUXIconBtnDeletAccent"; let KMImageNameUXIconBtnDeletHov = "KMImageNameUXIconBtnDeletHov"; let KMImageNameUXIconBtnDeletNor = "KMImageNameUXIconBtnDeletNor"; let KMImageNameUXIconBtnEditHov = "KMImageNameUXIconBtnEditHov"; let KMImageNameUXIconBtnEditNor = "KMImageNameUXIconBtnEditNor"; let KMImageNameUXIconBtnEyesInvisible = "KMImageNameUXIconBtnEyesInvisible"; let KMImageNameUXIconBtnEyesVisible = "KMImageNameUXIconBtnEyesVisible"; let KMImageNameUXIconBtnFontsetNor = "KMImageNameUXIconBtnFontsetNor"; let KMImageNameUXIconBtnFontsetPre = "KMImageNameUXIconBtnFontsetPre"; let KMImageNameUXIconBtnOpenfileNor = "KMImageNameUXIconBtnOpenfileNor"; let KMImageNameUXIconBtnOpenfileWhite = "KMImageNameUXIconBtnOpenfileWhite"; let KMImageNameUXIconBtnOvalarrowDown = "KMImageNameUXIconBtnOvalarrowDown"; let KMImageNameUXIconBtnRadioDis = "KMImageNameUXIconBtnRadioDis"; let KMImageNameUXIconBtnRadioSel = "KMImageNameUXIconBtnRadioSel"; let KMImageNameUXIconBtnSearchbarSearch = "KMImageNameUXIconBtnSearchbarSearch"; let KMImageNameUXIconBtnSearchbarSearchfilter = "KMImageNameUXIconBtnSearchbarSearchfilter"; let KMImageNameUXIconBtnSetNor = "KMImageNameUXIconBtnSetNor"; let KMImageNameUXIconBtnSetPre = "KMImageNameUXIconBtnSetPre"; let KMImageNameUXIconBtnSidebarAddNor = "KMImageNameUXIconBtnSidebarAddNor"; let KMImageNameUXIconBtnSidebarAddPre = "KMImageNameUXIconBtnSidebarAddPre"; let KMImageNameUXIconBtnSidebarFilterNor = "KMImageNameUXIconBtnSidebarFilterNor"; let KMImageNameUXIconBtnSidebarFilterPre = "KMImageNameUXIconBtnSidebarFilterPre"; let KMImageNameUXIconBtnSidebarListNor = "KMImageNameUXIconBtnSidebarListNor"; let KMImageNameUXIconBtnSidebarListPre = "KMImageNameUXIconBtnSidebarListPre"; let KMImageNameUXIconBtnSidebarMoreNor = "KMImageNameUXIconBtnSidebarMoreNor"; let KMImageNameUXIconBtnSidebarMorePre = "KMImageNameUXIconBtnSidebarMorePre"; let KMImageNameUXIconBtnSidebarMoreSecondary = "KMImageNameUXIconBtnSidebarMoreSecondary"; let KMImageNameUXIconBtnSidebarPageNor = "KMImageNameUXIconBtnSidebarPageNor"; let KMImageNameUXIconBtnSidebarPagePre = "KMImageNameUXIconBtnSidebarPagePre"; let KMImageNameUXIconBtnSidebarSearchNor = "KMImageNameUXIconBtnSidebarSearchNor"; let KMImageNameUXIconBtnSidebarSearchPre = "KMImageNameUXIconBtnSidebarSearchPre"; let KMImageNameUXIconBtnSidebarZoominNor = "KMImageNameUXIconBtnSidebarZoominNor"; let KMImageNameUXIconBtnSidebarZoominPre = "KMImageNameUXIconBtnSidebarZoominPre"; let KMImageNameUXIconBtnSidebarZoomoutNor = "KMImageNameUXIconBtnSidebarZoomoutNor"; let KMImageNameUXIconBtnSidebarZoomoutPre = "KMImageNameUXIconBtnSidebarZoomoutPre"; let KMImageNameUXIconBtnStrikeNor = "KMImageNameUXIconBtnStrikeNor"; let KMImageNameUXIconBtnStrikePre = "KMImageNameUXIconBtnStrikePre"; let KMImageNameUXIconBtnsysArrowLeft = "KMImageNameUXIconBtnsysArrowLeft"; let KMImageNameUXIconBtnSysArrowRight = "KMImageNameUXIconBtnSysArrowRight"; let KMImageNameUXIconBtnTriDownNor = "KMImageNameUXIconBtnTriDownNor"; let KMImageNameUXIconBtnTriDownPre = "KMImageNameUXIconBtnTriDownPre"; let KMImageNameUXIconBtnTriLeftNor = "KMImageNameUXIconBtnTriLeftNor"; let KMImageNameUXIconBtnTriLeftPre = "KMImageNameUXIconBtnTriLeftPre"; let KMImageNameUXIconBtnTriLeftSel = "KMImageNameUXIconBtnTriLeftSel"; let KMImageNameUXIconBtnTriRightNor = "KMImageNameUXIconBtnTriRightNor"; let KMImageNameUXIconBtnTriRightPre = "KMImageNameUXIconBtnTriRightPre"; let KMImageNameUXIconBtnTriRightSel = "KMImageNameUXIconBtnTriRightSel"; let KMImageNameUXIconBtnTriUpNor = "KMImageNameUXIconBtnTriUpNor"; let KMImageNameUXIconBtnTriUpPre = "KMImageNameUXIconBtnTriUpPre"; let KMImageNameBtnSidebarRankPositive = "KMImageNameBtnSidebarRankPositive"; let KMImageNameBtnSidebarRankReverse = "KMImageNameBtnSidebarRankReverse"; let KMImageNameEmptyOutline = "KMImageNameEmptyOutline"; let KMImageNameEmptyAnnotation = "KMImageNameEmptyAnnotation"; let KMImageNameEmptySearch = "KMImageNameEmptySearch"; let KMImageNameEmptyStamp = "KMImageNameEmptyStamp"; let KMImageNameEmptySign = "KMImageNameEmptySign"; let KMImageNameEmptyWatermark = "KMImageNameEmptyWatermark"; let KMImageNameEmptyBackground = "KMImageNameEmptyBackground"; let KMImageNameEmptyHeaderandfooter = "KMImageNameEmptyHeaderandfooter"; let KMImageNameEmptySplitview = "KMImageNameEmptySplitview"; let KMImageNameCursorsUnderline = "KMImageNameCursorsUnderline"; let KMImageNameCursorsHighlight = "KMImageNameCursorsHighlight"; let KMImageNameCursorsStrikeout = "KMImageNameCursorsStrikeout"; let KMImageNameCursorsFreehand = "KMImageNameCursorsFreehand"; let KMImageNameCursorsText = "KMImageNameCursorsText"; let KMImageNameCursorsNote = "KMImageNameCursorsNote"; let KMImageNameCursorsRec = "KMImageNameCursorsRec"; let KMImageNameCursorsOval = "KMImageNameCursorsOval"; let KMImageNameCursorsArrow = "KMImageNameCursorsArrow"; let KMImageNameCursorsTable = "KMImageNameCursorsTable"; let KMImageNameCursorsLink = "KMImageNameCursorsLink"; let KMImageNameCursorsLine = "KMImageNameCursorsLine"; let KMImageNameCursorsButton = "KMImageNameCursorsButton"; let KMImageNameCursorsCheckbox = "KMImageNameCursorsCheckbox"; let KMImageNameCursorsDate = "KMImageNameCursorsDate"; let KMImageNameCursorsFork = "KMImageNameCursorsFork"; let KMImageNameCursorsFormLine = "KMImageNameCursorsFormLine"; let KMImageNameCursorsListbox = "KMImageNameCursorsListbox"; let KMImageNameCursorsPoint = "KMImageNameCursorsPoint"; let KMImageNameCursorsPulldownmenu = "KMImageNameCursorsPulldownmenu"; let KMImageNameCursorsRadiobutton = "KMImageNameCursorsRadiobutton"; let KMImageNameCursorsRoundedrec = "KMImageNameCursorsRoundedrec"; let KMImageNameCursorsSign = "KMImageNameCursorsSign"; let KMImageNameCursorsTextfield = "KMImageNameCursorsTextfield"; let KMImageNameCursorsTick = "KMImageNameCursorsTick"; let KMImageNameElse1 = "KMImageNameElse1"; let KMImageNameElse2 = "KMImageNameElse2"; let KMImageNameElsei = "KMImageNameElsei"; @objcMembers class KMAppearance: NSObject { class func isDarkMode() -> Bool { let result = false if #available(macOS 10.14, *) { let appearanceName = NSApp.effectiveAppearance.bestMatch(from: [.aqua, .darkAqua]) if (appearanceName == .darkAqua) { return true } } return result } @objc class func titleColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#252629") } if let _color = NSColor(named: "KMTitleColor") { return _color } return NSColor.km_init(hex: "#252629") } @objc class func subtitleColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#616469") } if let _color = NSColor(named: "KMSubtitleColor") { return _color } return NSColor.km_init(hex: "#616469") } @objc class func view_bg_dis_color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#EDEEF0") } if let _color = NSColor(named: "KMBackgroundDisableColor") { return _color } return NSColor.km_init(hex: "#EDEEF0") } @objc class func view_border_dis_color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#DFE1E5") } if let _color = NSColor(named: "KMBorderDisableColor") { return _color } return NSColor.km_init(hex: "#DFE1E5") } @objc class func controlBackgroundColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor(white: 246/255.0, alpha: 1) } if let _color = NSColor(named: "KMControlBackgroundColor") { return _color } return NSColor(white: 246/255.0, alpha: 1) } class func isSupportNewColor() -> Bool { if #available(macOS 10.14, *) { return true } return false } } // MARK: - Reader Pro @objc extension KMAppearance { class func viewBackgroundColor() -> NSColor { if (!self.isSupportNewColor()) { return NSColor(red: 250.0/255.0, green: 250.0/255.0, blue: 250.0/255.0, alpha: 1) } if let _color = NSColor(named: "KMViewBackgroundColor") { return _color } return NSColor(red: 250.0/255.0, green: 250.0/255.0, blue: 250.0/255.0, alpha: 1) } class func PDFViewBackgroundColor() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#DADBDE") } if let _color = NSColor(named: "KMPDFViewBackgroundColor") { return _color } return NSColor.km_init(hex: "#DADBDE") } class func toolbarBorderColor() -> NSColor { if (!self.isSupportNewColor()) { return NSColor(red: 213/255.0, green: 213/255.0, blue: 213/255.0, alpha: 1) } if let _color = NSColor(named: "KMToolbarBorderColor") { return _color } return NSColor(red: 213/255.0, green: 213/255.0, blue: 213/255.0, alpha: 1) } class func newWindowBackgroundColor() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#EEEEEE", alpha: 0.85) } if let _color = NSColor(named: "KMNewWindowBackgroundColor") { return _color } return NSColor.km_init(hex: "#EEEEEE", alpha: 0.85) } class func buttonHoverColor() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#DADBDE", alpha: 1) } if let _color = NSColor(named: "KMButtonHoverColor") { return _color } return NSColor.km_init(hex: "#DADBDE", alpha: 1) } // MARK: - New UX Color class func KM_477EDE_Color15() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#477EDE", alpha: 0.15) } if let _color = NSColor(named: "KM_477EDE_Color15") { return _color } return NSColor.km_init(hex: "#477EDE", alpha: 0.15) } /// 高亮颜色 class func KM_D2D1D2_Color() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#D2D1D2", alpha: 1) } if let _color = NSColor(named: "KM_D2D1D2_Color") { return _color } return NSColor.km_init(hex: "#D2D1D2", alpha: 1) } class func KM_EDECED_Color() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#EDECED", alpha: 1) } if let _color = NSColor(named: "KM_EDECED_Color") { return _color } return NSColor.km_init(hex: "#EDECED", alpha: 1) } class func KM_DBDBDB_Color() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#DBDBDB", alpha: 1) } if let _color = NSColor(named: "KM_DBDBDB_Color") { return _color } return NSColor.km_init(hex: "#DBDBDB", alpha: 1) } class func KM_FFFFFF_ColorChange01() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } if let _color = NSColor(named: "KM_FFFFFF_ColorChange01") { return _color } return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } class func KM_757780_Color() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#757780", alpha: 1) } if let _color = NSColor(named: "KM_757780_Color") { return _color } return NSColor.km_init(hex: "#757780", alpha: 1) } class func KM_FFFFFF_Color35() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } if let _color = NSColor(named: "KM_FFFFFF_Color35") { return _color } return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } class func KM_000000_Color15Chang35() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.15) } if let _color = NSColor(named: "KM_000000_Color15Chang35") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.15) } class func KM_000000_Color20() -> NSColor { return NSColor.km_init(hex: "#000000", alpha: 0.2) } class func KM_242424_Color() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#242424", alpha: 1) } if let _color = NSColor(named: "KM_242424_Color") { return _color } return NSColor.km_init(hex: "#242424", alpha: 1) } class func KM_242424_Color40() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#242424", alpha: 0.6) } if let _color = NSColor(named: "KM_242424_Color40") { return _color } return NSColor.km_init(hex: "#242424", alpha: 0.6) } class func KM_242424_Color75() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#242424", alpha: 1) } if let _color = NSColor(named: "KM_242424_Color75") { return _color } return NSColor.km_init(hex: "#242424", alpha: 1) } class func KM_067DFF_Color() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#067DFF", alpha: 1) } if let _color = NSColor(named: "KM_067DFF_Color") { return _color } return NSColor.km_init(hex: "#067DFF", alpha: 1) } class func KM_FFF700_Color60() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FFF700", alpha: 0.6) } if let _color = NSColor(named: "KM_FFF700_Color60") { return _color } return NSColor.km_init(hex: "#FFF700", alpha: 0.6) } class func KM_F6F6F6_Color() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#F6F6F6", alpha: 1) } if let _color = NSColor(named: "KM_F6F6F6_Color") { return _color } return NSColor.km_init(hex: "#F6F6F6", alpha: 1) } // MARK: - 已经存在日间模式颜色,但是夜间模式颜色和原来存在的颜色不一致。以下 class func KM_273C62_ColorDarkChanged02() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#273C62", alpha: 1) } if let _color = NSColor(named: "KMMainColorDarkChanged02") { return _color } return NSColor.km_init(hex: "#273C62", alpha: 1) } class func KM_FFFFFF_ColorDarkChanged06() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } if let _color = NSColor(named: "KM_FFFFFF_ColorDarkChanged06") { return _color } return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } class func KM_DADBDE_ColorDarkChange04() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#DADBDE", alpha: 1) } if let _color = NSColor(named: "KM_DADBDE_ColorDarkChange04") { return _color } return NSColor.km_init(hex: "#DADBDE", alpha: 1) } class func KM_273C62_Color80DarkChanged01() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#273C62", alpha: 0.8) } if let _color = NSColor(named: "KM_273C62_Color80DarkChanged01") { return _color } return NSColor.km_init(hex: "#273C62", alpha: 0.8) } class func KM_477EDE_ColorDarkChange01() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#477EDE", alpha: 1) } if let _color = NSColor(named: "KM_477EDE_ColorDarkChange01") { return _color } return NSColor.km_init(hex: "#477EDE", alpha: 1) } class func KM_000000_Color5DarkChange01() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.05) } if let _color = NSColor(named: "KM_000000_Color5DarkChange01") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.05) } // MARK: - New Color @available(*, deprecated, renamed: "Layout.mColor()") class func KMColor_Layout_M() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#273C62", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_M") { return _color } return NSColor.km_init(hex: "#273C62", alpha: 1) } @available(*, deprecated, renamed: "Layout.m_1Color()") class func KMColor_Layout_M_1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#273C62", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_M_1") { return _color } return NSColor.km_init(hex: "#273C62", alpha: 1) } @available(*, deprecated, renamed: "Layout.bgColor()") class func KMColor_Layout_BG() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#EBECF0", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_BG") { return _color } return NSColor.km_init(hex: "#EBECF0", alpha: 1) } @available(*, deprecated, renamed: "Layout.bgDrakColor()") class func KMColor_Layout_BG_Drak() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#DADBDE", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_BG_Drak") { return _color } return NSColor.km_init(hex: "#DADBDE", alpha: 1) } @available(*, deprecated, renamed: "Layout.l_2Color()") class func KMColor_Layout_L_2() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#DADBDE", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_L_2") { return _color } return NSColor.km_init(hex: "#DADBDE", alpha: 1) } @available(*, deprecated, renamed: "Layout.l_1Color()") class func KMColor_Layout_L_1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#EBECF0", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_L_1") { return _color } return NSColor.km_init(hex: "#EBECF0", alpha: 1) } @available(*, deprecated, renamed: "Layout.l0Color()") class func KMColor_Layout_L0() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FCFDFF", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_L0") { return _color } return NSColor.km_init(hex: "#FCFDFF", alpha: 1) } @available(*, deprecated, renamed: "Layout.l1Color()") class func KMColor_Layout_L1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_L1") { return _color } return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } @available(*, deprecated, renamed: "Layout.h0Color()") class func KMColor_Layout_H0() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#0E1114", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_H0") { return _color } return NSColor.km_init(hex: "#0E1114", alpha: 1) } @available(*, deprecated, renamed: "Layout.h1Color()") class func KMColor_Layout_H1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#42464D", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_H1") { return _color } return NSColor.km_init(hex: "#42464D", alpha: 1) } @available(*, deprecated, renamed: "Layout.h2Color()") class func KMColor_Layout_H2() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#757780", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_H2") { return _color } return NSColor.km_init(hex: "#757780", alpha: 1) } @available(*, deprecated, renamed: "Layout.b80Color()") class func KMColor_Layout_B80() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.8) } if let _color = NSColor(named: "KMColor_Layout_B80") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.8) } @available(*, deprecated, renamed: "Layout.b30Color()") class func KMColor_Layout_B30() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.3) } if let _color = NSColor(named: "KMColor_Layout_B30") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.3) } @available(*, deprecated, renamed: "Layout.b15Color()") class func KMColor_Layout_B15() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.15) } if let _color = NSColor(named: "KMColor_Layout_B15") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.15) } @available(*, deprecated, renamed: "Layout.w0Color()") class func KMColor_Layout_W0() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_W0") { return _color } return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } @available(*, deprecated, renamed: "Layout.w70Color()") class func KMColor_Layout_W70() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FFFFFF", alpha: 0.7) } if let _color = NSColor(named: "KMColor_Layout_W70") { return _color } return NSColor.km_init(hex: "#FFFFFF", alpha: 0.7) } @available(*, deprecated, renamed: "Layout.w30Color()") class func KMColor_Layout_W30() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FFFFFF", alpha: 0.3) } if let _color = NSColor(named: "KMColor_Layout_W30") { return _color } return NSColor.km_init(hex: "#FFFFFF", alpha: 0.3) } @available(*, deprecated, renamed: "Layout.w15Color()") class func KMColor_Layout_W15() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FFFFFF", alpha: 0.15) } if let _color = NSColor(named: "KMColor_Layout_W15") { return _color } return NSColor.km_init(hex: "#FFFFFF", alpha: 0.15) } @available(*, deprecated, renamed: "Layout.b15_1Color()") class func KMColor_Layout_B15_1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.15) } if let _color = NSColor(named: "KMColor_Layout_B15_1") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.15) } /// Interactive @available(*, deprecated, renamed: "Interactive.a_1Color()") class func KMColor_Interactive_A_1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#3864B0", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_A_1") { return _color } return NSColor.km_init(hex: "#3864B0", alpha: 1) } @available(*, deprecated, renamed: "Interactive.a0Color()") class func KMColor_Interactive_A0() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#4982E6", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_A0") { return _color } return NSColor.km_init(hex: "#4982E6", alpha: 1) } @available(*, deprecated, renamed: "Interactive.a1Color()") class func KMColor_Interactive_A1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#6B97E4", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_A1") { return _color } return NSColor.km_init(hex: "#6B97E4", alpha: 1) } @available(*, deprecated, renamed: "Interactive.m_1Color()") class func KMColor_Interactive_M_1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#1B2944", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_M_1") { return _color } return NSColor.km_init(hex: "#1B2944", alpha: 1) } @available(*, deprecated, renamed: "Interactive.m0Color()") class func KMColor_Interactive_M0() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#273C62", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_M0") { return _color } return NSColor.km_init(hex: "#273C62", alpha: 1) } @available(*, deprecated, renamed: "Interactive.m1Color()") class func KMColor_Interactive_M1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#365283", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_M1") { return _color } return NSColor.km_init(hex: "#365283", alpha: 1) } @available(*, deprecated, renamed: "Interactive.s_1Color()") class func KMColor_Interactive_S_1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#AEAFB1", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_S_1") { return _color } return NSColor.km_init(hex: "#AEAFB1", alpha: 1) } @available(*, deprecated, renamed: "Interactive.s0Color()") class func KMColor_Interactive_S0() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#DADBDE", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_S0") { return _color } return NSColor.km_init(hex: "#DADBDE", alpha: 1) } @available(*, deprecated, renamed: "Interactive.s1Color()") class func KMColor_Interactive_S1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#C8C9CC", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_S1") { return _color } return NSColor.km_init(hex: "#C8C9CC", alpha: 1) } /// Status @available(*, deprecated, renamed: "Status.sucColor()") class func KMColor_Status_Suc() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#3CCD75", alpha: 1) } if let _color = NSColor(named: "KMColor_Status_Suc") { return _color } return NSColor.km_init(hex: "#3CCD75", alpha: 1) } @available(*, deprecated, renamed: "Status.errColor()") class func KMColor_Status_Err() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FA1E5D", alpha: 1) } if let _color = NSColor(named: "KMColor_Status_Err") { return _color } return NSColor.km_init(hex: "#FA1E5D", alpha: 1) } @available(*, deprecated, renamed: "Status.errBGColor()") class func KMColor_Status_Err_BG() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12) } if let _color = NSColor(named: "KMColor_Status_Err_BG") { return _color } return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12) } @available(*, deprecated, renamed: "Status.errBG1Color()") class func KMColor_Status_Err_BG_1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12) } if let _color = NSColor(named: "KMColor_Status_Err_BG_1") { return _color } return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12) } @available(*, deprecated, renamed: "Status.hovColor()") class func KMColor_Status_Hov() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.05) } if let _color = NSColor(named: "KMColor_Status_Hov") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.05) } @available(*, deprecated, renamed: "Status.preColor()") class func KMColor_Status_Pre() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.1) } if let _color = NSColor(named: "KMColor_Status_Pre") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.1) } @available(*, deprecated, renamed: "Status.selColor()") class func KMColor_Status_Sel() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#4982E6", alpha: 0.2) } if let _color = NSColor(named: "KMColor_Status_Sel") { return _color } return NSColor.km_init(hex: "#4982E6", alpha: 0.2) } /// Upgrade @available(*, deprecated, renamed: "Upgrade.vip_1Color()") class func KMColor_Upgrade_Vip_1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#D2B58F", alpha: 1) } if let _color = NSColor(named: "KMColor_Upgrade_Vip_1") { return _color } return NSColor.km_init(hex: "#D2B58F", alpha: 1) } @available(*, deprecated, renamed: "Upgrade.vip0Color()") class func KMColor_Upgrade_Vip0() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#ECDCC1", alpha: 1) } if let _color = NSColor(named: "KMColor_Upgrade_Vip0") { return _color } return NSColor.km_init(hex: "#ECDCC1", alpha: 1) } @available(*, deprecated, renamed: "Upgrade.vip01Color()") class func KMColor_Upgrade_Vip0_1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#DCBA8C", alpha: 1) } if let _color = NSColor(named: "KMColor_Upgrade_Vip0_1") { return _color } return NSColor.km_init(hex: "#DCBA8C", alpha: 1) } @available(*, deprecated, renamed: "Upgrade.vip1Color()") class func KMColor_Upgrade_Vip1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#EFDCC1", alpha: 1) } if let _color = NSColor(named: "KMColor_Upgrade_Vip1") { return _color } return NSColor.km_init(hex: "#EFDCC1", alpha: 1) } @available(*, deprecated, renamed: "Upgrade.vipBGColor()") class func KMColor_Upgrade_Vip_BG() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#1B263A", alpha: 1) } if let _color = NSColor(named: "KMColor_Upgrade_Vip_BG") { return _color } return NSColor.km_init(hex: "#1B263A", alpha: 1) } @available(*, deprecated, renamed: "Upgrade.vipBG1Color()") class func KMColor_Upgrade_Vip_BG_1() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#273C62", alpha: 1) } if let _color = NSColor(named: "KMColor_Upgrade_Vip_BG_1") { return _color } return NSColor.km_init(hex: "#273C62", alpha: 1) } /// Else @available(*, deprecated, renamed: "Else.clearColor()") class func KMColor_Else_00() -> NSColor { return .clear } @available(*, deprecated, renamed: "Else.searchHighlightColor()") class func KMColor_Else_Search_Highlight() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#FFF700", alpha: 0.6) } if let _color = NSColor(named: "KMColor_Else_Search_Highlight") { return _color } return NSColor.km_init(hex: "#FFF700", alpha: 0.6) } @available(*, deprecated, renamed: "Else.textHighlightColor()") class func KMColor_Else_Text_Highlight() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#4982E6", alpha: 0.3) } if let _color = NSColor(named: "KMColor_Else_Text_Highlight") { return _color } return NSColor.km_init(hex: "#4982E6", alpha: 0.3) } @available(*, deprecated, renamed: "Else.textTagColor()") class func KMColor_Else_Text_Tag() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.15) } if let _color = NSColor(named: "KMColor_Else_Text_Tag") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.15) } @available(*, deprecated, renamed: "Else.tipsBGColor()") class func KMColor_Else_Tips_BG() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#DADBDE", alpha: 1) } if let _color = NSColor(named: "KMColor_Else_Tips_BG") { return _color } return NSColor.km_init(hex: "#DADBDE", alpha: 1) } @available(*, deprecated, renamed: "Else.tipbarColor()", message: "优化") class func KMColor_Else_Tipbar() -> NSColor { if (!self.isSupportNewColor()) { return NSColor.km_init(hex: "#273C62", alpha: 0.8) } if let _color = NSColor(named: "KMColor_Else_Tipbar") { return _color } return NSColor.km_init(hex: "#273C62", alpha: 0.8) } /* + (BOOL)isObj:(NSObject *)obj hasObserverKey:(NSString *)keyPath{ if (obj == nil) { return NO; } if (obj.observationInfo == nil) { return NO; } NSObject *observances = [((__bridge NSObject*)(obj.observationInfo))valueForKeyPath:@"observances"]; if ([observances isKindOfClass:[NSArray class]]) { for (NSObject *observance in (NSArray *)observances) { NSString *inKeyPath = [NSString stringWithFormat:@"Key path: %@",keyPath]; NSString *objString = [NSString stringWithFormat:@"%@",observance]; if ([objString containsString:inKeyPath]) { return YES; } } } return NO; } */ } // MARK: - KMAppearance.Else extension KMAppearance.Else { static func clearColor() -> NSColor { return .clear } static func searchHighlightColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#FFF700", alpha: 0.6) } if let _color = NSColor(named: "KMColor_Else_Search_Highlight") { return _color } return NSColor.km_init(hex: "#FFF700", alpha: 0.6) } static func textHighlightColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#4982E6", alpha: 0.3) } if let _color = NSColor(named: "KMColor_Else_Text_Highlight") { return _color } return NSColor.km_init(hex: "#4982E6", alpha: 0.3) } static func textTagColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.15) } if let _color = NSColor(named: "KMColor_Else_Text_Tag") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.15) } static func tipsBGColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#DADBDE", alpha: 1) } if let _color = NSColor(named: "KMColor_Else_Tips_BG") { return _color } return NSColor.km_init(hex: "#DADBDE", alpha: 1) } static func tipbarColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#273C62", alpha: 0.8) } if let _color = NSColor(named: "KMColor_Else_Tipbar") { return _color } return NSColor.km_init(hex: "#273C62", alpha: 0.8) } } // MARK: - KMAppearance.Upgrade extension KMAppearance.Upgrade { static func vip_1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#D2B58F", alpha: 1) } if let _color = NSColor(named: "KMColor_Upgrade_Vip_1") { return _color } return NSColor.km_init(hex: "#D2B58F", alpha: 1) } static func vip0Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#ECDCC1", alpha: 1) } if let _color = NSColor(named: "KMColor_Upgrade_Vip0") { return _color } return NSColor.km_init(hex: "#ECDCC1", alpha: 1) } static func vip01Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#DCBA8C", alpha: 1) } if let _color = NSColor(named: "KMColor_Upgrade_Vip0_1") { return _color } return NSColor.km_init(hex: "#DCBA8C", alpha: 1) } static func vip1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#EFDCC1", alpha: 1) } if let _color = NSColor(named: "KMColor_Upgrade_Vip1") { return _color } return NSColor.km_init(hex: "#EFDCC1", alpha: 1) } static func vipBGColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#1B263A", alpha: 1) } if let _color = NSColor(named: "KMColor_Upgrade_Vip_BG") { return _color } return NSColor.km_init(hex: "#1B263A", alpha: 1) } static func vipBG1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#273C62", alpha: 1) } if let _color = NSColor(named: "KMColor_Upgrade_Vip_BG_1") { return _color } return NSColor.km_init(hex: "#273C62", alpha: 1) } } // MARK: - KMAppearance.Status extension KMAppearance.Status { static func sucColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#3CCD75", alpha: 1) } if let _color = NSColor(named: "KMColor_Status_Suc") { return _color } return NSColor.km_init(hex: "#3CCD75", alpha: 1) } static func errColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#FA1E5D", alpha: 1) } if let _color = NSColor(named: "KMColor_Status_Err") { return _color } return NSColor.km_init(hex: "#FA1E5D", alpha: 1) } static func errBGColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12) } if let _color = NSColor(named: "KMColor_Status_Err_BG") { return _color } return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12) } static func errBG1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12) } if let _color = NSColor(named: "KMColor_Status_Err_BG_1") { return _color } return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12) } static func hovColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.05) } if let _color = NSColor(named: "KMColor_Status_Hov") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.05) } static func preColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.1) } if let _color = NSColor(named: "KMColor_Status_Pre") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.1) } static func selColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#4982E6", alpha: 0.2) } if let _color = NSColor(named: "KMColor_Status_Sel") { return _color } return NSColor.km_init(hex: "#4982E6", alpha: 0.2) } static func selColorNew() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#4982E6", alpha: 0.2) } if let _color = NSColor(named: "KMColor_Status_Sel_new") { return _color } return NSColor.km_init(hex: "#4982E6", alpha: 0.2) } } // MARK: - KMAppearance.Interactive extension KMAppearance.Interactive { static func a_1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#3864B0", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_A_1") { return _color } return NSColor.km_init(hex: "#3864B0", alpha: 1) } static func a0Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#4982E6", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_A0") { return _color } return NSColor.km_init(hex: "#4982E6", alpha: 1) } static func a1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#6B97E4", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_A1") { return _color } return NSColor.km_init(hex: "#6B97E4", alpha: 1) } static func m_1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#1B2944", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_M_1") { return _color } return NSColor.km_init(hex: "#1B2944", alpha: 1) } static func m0Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#273C62", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_M0") { return _color } return NSColor.km_init(hex: "#273C62", alpha: 1) } static func m1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#365283", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_M1") { return _color } return NSColor.km_init(hex: "#365283", alpha: 1) } static func s_1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#AEAFB1", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_S_1") { return _color } return NSColor.km_init(hex: "#AEAFB1", alpha: 1) } static func s0Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#DADBDE", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_S0") { return _color } return NSColor.km_init(hex: "#DADBDE", alpha: 1) } static func s1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#C8C9CC", alpha: 1) } if let _color = NSColor(named: "KMColor_Interactive_S1") { return _color } return NSColor.km_init(hex: "#C8C9CC", alpha: 1) } } // MARK: - KMAppearance.Layout extension KMAppearance.Layout { static func mColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#273C62", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_M") { return _color } return NSColor.km_init(hex: "#273C62", alpha: 1) } static func m_1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#273C62", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_M_1") { return _color } return NSColor.km_init(hex: "#273C62", alpha: 1) } static func bgColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#EBECF0", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_BG") { return _color } return NSColor.km_init(hex: "#EBECF0", alpha: 1) } static func bgDrakColor() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#DADBDE", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_BG_Drak") { return _color } return NSColor.km_init(hex: "#DADBDE", alpha: 1) } static func l_2Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#DADBDE", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_L_2") { return _color } return NSColor.km_init(hex: "#DADBDE", alpha: 1) } static func l_1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#EBECF0", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_L_1") { return _color } return NSColor.km_init(hex: "#EBECF0", alpha: 1) } static func l0Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#FCFDFF", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_L0") { return _color } return NSColor.km_init(hex: "#FCFDFF", alpha: 1) } static func l1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_L1") { return _color } return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } static func h0Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#0E1114", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_H0") { return _color } return NSColor.km_init(hex: "#0E1114", alpha: 1) } static func h1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#42464D", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_H1") { return _color } return NSColor.km_init(hex: "#42464D", alpha: 1) } static func h2Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#757780", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_H2") { return _color } return NSColor.km_init(hex: "#757780", alpha: 1) } static func b80Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.8) } if let _color = NSColor(named: "KMColor_Layout_B80") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.8) } static func b30Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.3) } if let _color = NSColor(named: "KMColor_Layout_B30") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.3) } static func b15Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.15) } if let _color = NSColor(named: "KMColor_Layout_B15") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.15) } static func w0Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } if let _color = NSColor(named: "KMColor_Layout_W0") { return _color } return NSColor.km_init(hex: "#FFFFFF", alpha: 1) } static func w70Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#FFFFFF", alpha: 0.7) } if let _color = NSColor(named: "KMColor_Layout_W70") { return _color } return NSColor.km_init(hex: "#FFFFFF", alpha: 0.7) } static func w30Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#FFFFFF", alpha: 0.3) } if let _color = NSColor(named: "KMColor_Layout_W30") { return _color } return NSColor.km_init(hex: "#FFFFFF", alpha: 0.3) } static func w15Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#FFFFFF", alpha: 0.15) } if let _color = NSColor(named: "KMColor_Layout_W15") { return _color } return NSColor.km_init(hex: "#FFFFFF", alpha: 0.15) } static func b15_1Color() -> NSColor { if (!KMAppearance.isSupportNewColor()) { return NSColor.km_init(hex: "#000000", alpha: 0.15) } if let _color = NSColor(named: "KMColor_Layout_B15_1") { return _color } return NSColor.km_init(hex: "#000000", alpha: 0.15) } } extension KMAppearance { struct Else {} struct Upgrade {} struct Status {} struct Interactive {} struct Layout {} }