Mac OS 8/9-дың Appearance Manager интерфейсін басқарады. Темаларды қолдайды, графикалық элементтерді жаңартады. QuickDraw және Control Manager арасындағы байланыс.
Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Мазмұны
Кіріспе
Mac OS 8 және Mac OS 9 компоненті
Component of Mac OS 8 and Mac OS 9
Көрініс менеджері – Mac OS 8 және Mac OS 9 жүйесінің құрамына кіретін, Macintosh графикалық интерфейсінің элементтерінің (виджеттердің) жалпы көрінісін басқаратын және бірнеше тақырыптарды қолдайтын компонент. Ол бастапқыда Apple компаниясының сәтсіз аяқталған Copland жобасы үшін әзірленген, бірақ жоба тоқтатылғаннан кейін жүйе Mac OS-тің жаңа нұсқаларына көшірілді. Көрініс менеджері System 7 жүйесі үшін жүктеліп алынатын SDK құрамының бір бөлігі ретінде де тегін қолжетімді. Көрініс менеджері Control Manager мен QuickDraw арасындағы абстракция қабаты ретінде іске асырылған. Бұрын басқару элементтері тікелей QuickDraw функцияларын шақырып, батырмалар, прокрутка жолақтары, терезе тақырыптары сияқты пайдаланушы интерфейсінің элементтерін салуға мүмкіндік берді. Көрініс менеджерімен бұл элементтер клиенттік кодтың атынан бөлек нысан ретінде элементті салатын API-лер жиынтығына абстракцияланды, осылайша Control Manager-ді осы міндеттен босатады. Бұл қосымша аралық деңгей жүйенің ауыстырылатын «тақырыптар» тұжырымдамасын қолдауға мүмкіндік береді, себебі клиенттік код интерфейс элементінің (мысалы, батырма немесе прокрутка жолағы) кескінін сұрап, оның сыртқы түрін салады. Kaleidoscope атты үшінші тараптан шыққан бағдарлама «схема» файлдары арқылы осы мүмкіндікті бірінші болып пайдаланды, содан кейін Mac OS 8.5 жүйесінде «тақырып» файлдары арқылы ұқсас әрекет ететін жаңартылған Сыртқы Түрді Басқару Панелі пайда болды. Схемалар мен тақырыптар тұжырымдамасы жағынан ұқсас, бірақ олар ішкі үйлесімді емес. Mac OS X жүйесіндегі Carbon қолданбалары үшін Apple Aqua-ға көшуден кейін де Көрініс менеджерінің жаңартылған және қуаттырақ нұсқасы қолданылды. Extras.rsrc файлы – жаңа Көрініс менеджерімен үйлесімді Көрініс Тақырыбының жаңартылған нұсқасы. Mac OS X 10.3 нұсқасынан бастап, «layo» деректері енді қолданылмайды, тіпті Carbon қолданбалары үшін де, сондықтан Көрініс менеджерінің әлі де қолданылып жатынын растау мүмкін емес.
The Appearance Manager is a component of Mac OS 8 and Mac OS 9 that controls the overall look of the Macintosh graphical user interface widgets and supports several themes. It was originally developed for Apple's ill fated Copland project, but with the cancellation of this project the system was moved into newer versions of the Mac OS. The Appearance Manager is also available free as part of a downloadable SDK for System 7. The Appearance Manager is implemented as an abstraction layer between the Control Manager and QuickDraw. Previously, controls made direct QuickDraw calls to draw user interface elements such as buttons, scrollbars, window title bars, etc. With the Appearance Manager, these elements are abstracted into a series of APIs that draw the item as a distinct entity on behalf of the client code, thus relieving the Control Manager of the task. This extra level of indirection allows the system to support the concept of switchable "themes", since client code simply requests the image of an interface element (a button or scroll bar, for example) and draws its appearance. Kaleidoscope, a 3rd party application, was the first to utilize this functionality with via "scheme" files, followed by an updated Appearance Control Panel in Mac OS 8.5, which acted similarly via "theme" files. Schemes and themes are similar in concept, but they are not internally compatible. An updated and more powerful version of the Appearance Manager was used for Carbon applications in Mac OS X even after Apple made the transition to Aqua. The Extras. rsrc file is an updated version of an Appearance Theme that is compatible with the newer Appearance Manager. As of Mac OS X version 10.3, 'layo' data is no longer used, even for Carbon applications, so the continued existence of the Appearance Manager can no longer be confirmed.
Көрініс тақырыбы
Mac OS 8 және 9-дағы Сыртқы Көрініс Менеджерінің бастапқы келбеті мен сезімі Platinum дизайн тілімен анықталады, ол Copland жүйесінің негізгі GUI-ы болуы жоспарланған еді. Platinum System 7 және одан бұрынғы нұсқалардың терезе басқару элементтері мен түймелері сияқты пішіндері мен орналасуларын сақтайды, ал Charcoal жүйелік қаріп болса, Chicago мәзір арқылы қолжетімді еді. Дегенмен, интерфейс бойында сұр түстердің әртүрлі нұсқалары кеңінен қолданылады, ал бұрынғы интерфейстер көбінесе қара-ақ монохромды түс схемасын қолданған. Бірақ Apple Platinum – бұл тақырып емес. Ол Сыртқы Көрініс Менеджеріне енгізілген. Сыртқы Көрініс Басқару Панелі Сыртқы Көрініс Менеджеріне тақырып қосуға мүмкіндік береді. Жүйелік Папкадағы Тақырыптар папкасында Apple Platinum файлы бар, ол белгіше ретінде жұмыс істейді, бірақ оған функционалды тақырып элементтері қосылмаған. Apple Platinum жүйесіндегі прогресс жолақтары, прокрутка бас бармақтары, жылғыштар және мәзір таңдаулары үшін өзгертілетін палитралар ("clut" ресурстары) қолданылады, бұл мүмкіндік нақты тақырыптарда қолжетімді емес. Сыртқы Көрініс Басқару Панелі файлдың Apple Platinum палитрасын өзгерту үшін 'pltn' типтік кодын, ал файлдың Сыртқы Көрініс Тақырыбы ретінде жұмыс істеуі үшін 'thme' типтік кодын пайдаланады. Маңызды айырмашылық – Сыртқы Көрініс Басқару Панелі тақырыптарды Сыртқы Көрініс Менеджеріне енгізеді. Kaleidoscope – бұл үшінші тараптан шыққан бағдарламалық қамтамасы, ол Сыртқы Көрініс Менеджеріне схемаларды енгізеді. Kaleidoscope Сыртқы Көрініс Менеджерінің орнын баспайды, ол Сыртқы Көрініс Басқару Панелінің орнын толтырады. Apple екі Сыртқы Көрініс Тақырыбын – Hi Tech және Gizmo-ны көрсетті, олар Apple Platinum-ды жояды. Hi Tech – бұл интерфейсті заманауи аудиовизуалды құрал сияқты көрінетін қара түстердің нұсқаларына негіделген. Gizmo – бұл көптеген жарқын түстерді, өрнектерді және "қисық" интерфейс элементтерін қолданатын мемфис стиліндегі интерфейс. Екеуі де жалпы GUI-дың барлық элементтерін өзгертті, Apple Platinum-ның ешқандай іздерін қалдырмады. Кейіннен Apple Japan-да жасалған Drawing Board тақырыбы енгізілді. Бұл тақырып интерфейстің кескін тақтасына қаламмен салынғандай етіп көрсететін элементтерді пайдаланады, соның ішінде терезелердің айналасындағы кішкентай "қалам іздері", жұмыс үстеліндегі көрінбейтін торлы қағаз және төмен контрастты "төртбұрышты" элементтер. Mac OS 8.5-тен 9.2.2-ге дейінгі барлық нұсқалары тақырыптарды қолдайтын болса да, аталған үш тақырып тек Mac OS 8.5-тің алдын ала нұсқаларында ғана болды және түсіндірмесіз соңғы нұсқадан алынып тасталды.
The default look and feel of the Appearance Manager in Mac OS 8 and 9 is Platinum design language, which was intended to be the primary GUI for Copland. Platinum retains many of the shapes and positions of elements from System 7 and earlier, like window control widgets and buttons and while Charcoal is the default system font, Chicago was available via a menu option. However, various shades of grey are used extensively throughout the interface, as opposed to previous interfaces which are mostly monochrome black and white. Apple Platinum is not a theme, however. It is actually embedded into the Appearance Manager. The Appearance Control Panel has the ability to attach a theme to the Appearance Manager. There is an Apple Platinum file in the themes folder in the System Folder which acts as a stub, but no functional theme elements are embedded into it. Customizable palettes ('clut' resources) are used for progress bars, scroll thumbs, slider tabs and menu selections in Apple Platinum and this unique option is not available to real themes. The Appearance Control Panel uses the type code 'pltn' to identify if a file should act like a palette modification stub to Apple Platinum and the type code 'thme' to identify if a file should act like an Appearance Theme. An important distinction is that the Appearance Control Panel implements themes into the Appearance Manager. Kaleidoscope is third party software that implements schemes into the Appearance Manager. Kaleidoscope is not a substitute for the Appearance Manager; it is a substitute for the Appearance Control Panel. Apple widely demonstrated two Appearance Themes which override Apple Platinum, Hi Tech and Gizmo. Hi Tech is based on a shades of black color scheme that made the interface look like a contemporary piece of audio visual equipment. Gizmo is a period appropriate Memphis style interface, using many bold colors, patterns, and "wiggly" interface elements. Both changed every single element of the overall GUI, leaving no trace of Apple Platinum. A third theme, Drawing Board, was later introduced, developed at Apple Japan. This theme uses elements that make the interface look like it has been drawn in pencil on a drafting board, including small "pencil marks" around the windows, a barely visible graph paper grid on the desktop, and "squarish" elements with low contrast. Although themes are supported in all released versions of Mac OS 8.5 through 9.2.2, the three aforementioned themes were only present in pre release versions of Mac OS 8.5 and were removed without explanation in the final release.
Типографиялық
Әдетте, Mac OS-тің бұрынғы нұсқаларында қолданылған ұқсас Чикаго қарібін алмастыру үшін Charcoal қаріпі қолданылады. Сонымен қатар, Capitals, Gadget, Sand, Techno және Textile сияқты бірнеше қосымша жүйелік қаріптер де ұсынылады. Қаріпті жүйелік қаріп етіп белгілеу үшін Mac операциялық жүйесіне тән глифтер, мысалы Command пернесінің символы (⌘) берілуі тиіс. Жүйелік қаріптер әдетте 12 пунктте көрсетіледі. Сыртқы түрі менеджерінің кейінгі нұсқалары экранда белгілі бір мөлшерден жоғары көрсетілетін мәтінге антиалиазингті де қолданады, әдепкі бойынша 12 пункттен бастап. Бұл растрлық артефакттарды азайту арқылы мәтіннің жалпы көрінісін жақсартады. Антиалиазингті Сыртқы түрі басқару тақтасынан реттеуге болады.
By default, a font called Charcoal is used to replace the similar Chicago typeface that was used in earlier versions of the Mac OS. A number of additional system fonts are also provided, including Capitals, Gadget, Sand, Techno, and Textile. In order to be a system font, glyphs specific to the Mac operating system need to be provided, such as the Command key symbol (⌘). System fonts are normally displayed at 12 points. Later versions of the Appearance Manager also apply anti aliasing to type displayed on the screen above a certain size, by default 12 points. This improves the overall look of the text by reducing the perception of rasterization artifacts. Anti aliasing is adjustable in the Appearance Control Panel.
Өзара бөлісу өнімдері
Бірнеше shareware өнімдері болған, олар сыртқы көрініс басқару панелінде тікелей ұсынылмас бұрын, сыртқы көрініс менеджерінің кейбір мүмкіндіктерін ұсынды. Church Windows және Décor үстел суретін жасау мүмкіндігін ұсынады. Apple компаниясы сатып алып, System 7.5 жүйесімен бірге жеткізілген WindowShade, терезелерді кішірейту мүмкіндігін қамтамасыз етеді. Терезелер кішірейген кезде, олар "жұғылып", тек тақырып жолағы көрінеді.
Shareware products exist that provided some features of the Appearance Manager before they were offered directly in the Appearance Control Panel. Church Windows and Décor provide desktop picture functionality. WindowShade, which had been purchased by Apple and bundled with System 7.5, provides collapse functionality. When windows collapse, they "roll up", leaving only the title bar.
Калейдоскоп
Arlo Rose және Greg Landweber жазған Kaleidoscope, Apple Mac OS 8.5 бағдарламасымен сыртқы көріністі басқару панеліне жаңартуды шығарғанға дейін, GUI-ге "схемаларды" қолданды. Бұл жаңарту "тақырыптарды" пайдалана отырып, ұқсас функционалдылықты қамтамасыз етті. Тек бірнеше тақырып қана әзірленген болса, мыңдаған Kaleidoscope схемалары жасалды. Тақырыптарды қолдауды алғаш рет жариялағанда, оған жауапты команда ондаған мыңдаған Kaleidoscope схемалық файлдарын Сыртқы Көрініс Менеджерімен үйлесімді тақырыптарға автоматты түрде түрлендіретін арнайы құралды көрсетті. Бұл құрал жұртшылыққа ұсынылмады, бірақ оған ұқсас құрал әзірленді. Mac OS 8.5-те тақырыптарға қолдау ұсынылғаннан кейін де Kaleidoscope негізгі тақырыптау платформасы болып қала берді. Стив Джобс Mac OS 8.5 шығарылымына дейін Apple компаниясына оралды және тұрақты пайдаланушы интерфейсін сақтау үшін тақырыптарды ресми түрде қолдауды тоқтатуға шешім қабылдады. Осы себепті Apple тақырып форматына аз ғана құжаттама жариялады, өзінің бета-версиясы шығарылған тақырыптарын ұстап қалды және тіпті үшінші тараптың тақырып редакторы авторларына тоқтату туралы ескерту жіберді, себебі ол пайдаланушыларға Mac OS X-тегі Aqua интерфейсін имитациялайтын тақырыптар жасауға мүмкіндік беретін еді. Сонымен қатар, Kaleidoscope схемаларының форматы дами берді. Нәтижесінде, Kaleidoscope схемалары кеңінен таралды, ал Сыртқы Көрініс тақырыптары тиісті деңгейде дамыған жоқ. Kaleidoscope тек Mac OS X-ке көшу кезінде ескірді, оған Kaleidoscope үйлесімді емес.
Kaleidoscope, written by Arlo Rose and Greg Landweber, applied "schemes" to the GUI before Apple released an update to the Appearance Control Panel with Mac OS 8.5 which provides similar functionality using "themes". Whereas only a handful of themes were ever developed, thousands of Kaleidoscope schemes were developed. When theme support in the Appearance Control Panel was first announced, the team responsible for it demonstrated an automatic tool specifically designed to convert the tens of thousands of existing Kaleidoscope scheme files into Appearance Manager compatible theme files. This tool was not released to the public; however, a similar tool has been developed. Kaleidoscope remained the primary theming platform, even after the Appearance Control Panel offered theming capabilities in Mac OS 8.5. Steve Jobs returned to Apple just before the release of Mac OS 8.5, and he decided to officially drop support for themes because he wanted to preserve a consistent user interface. Because of this, Apple released little documentation for the theme format, withheld their own beta released themes, and even issued a cease and desist notice to the authors of a third party theme editor on grounds that it was intended to allow users to create themes that imitate the Aqua interface in Mac OS X. At the same time, the format of Kaleidoscope schemes continued to evolve. As a result, Kaleidoscope schemes proliferated while Appearance themes never really took off. Kaleidoscope was only rendered obsolete with the transition to Mac OS X, with which Kaleidoscope is not compatible.