CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 103 users online: 11 members, 67 guests and 25 bots.
Members: blue_bear_94, critor, gbl08ma, hellninjas, parrotgeek1, Piguy-3.14, Xeda112358.
Bots: VoilaBot (3), VoilaBot (10), Googlebot (12).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
DCS6: Associated Programs: Icon
Published by KermMartian on September 16, 2006 at 8:33:55 PM CST | Discuss this article (14)

As I tried to begin to document in the DCS6: To Do topic, one of the sections of Doors CS that I'm rewriting for DCS6 is the whole concept of associated programs, programs that can open data files. I decided that for Doors CS 6, the shell itself will handle most of the pointers and data transfer instead of relying upon the data file and main program to find the data and manipulate it. The first step was making Doors CS aware of data-only filetypes, which I suceeded in doing. For icons, I decided that data files, instead of having embedded icons, should get their icons from the main program. Therefore, some programs can now have an extended header that defines both an entry point other than $9D95 for when data is pending, filetypes that the program knows how to open, a dual icons: one for the program, and one for associated data files. In addition, I decided to pair main and data programs by a 3-byte data type identifier instead of the 8-byte ASCII name of the main program so that multiple competing programs can be made to open the same standardized filetypes. Check out the actual screenshot below that shows the working system in place. Note that the icons for both APMAIN and APTEST are inside the data structure of APMAIN; APTEST contains only a header and its 3-byte identifier with a short string for future testing use.



Permalink
September 2006 Articles
September 2006 September 2006 [Back to News Archives Index]

» DCS6: Progress To 5.7 Beta 2 published September 1, 2006 by KermMartian
» DCS 5.7 Beta 2, Writeback published September 6, 2006 by KermMartian
» DCS6 GUI: Text Input published September 11, 2006 by KermMartian
» DCS6: Associated Programs: Icon published September 16, 2006 by KermMartian
» DCS6: Associated Programs: Passthru published September 19, 2006 by KermMartian
» Lies published September 20, 2006 by KermMartian
» Host Downtime published September 26, 2006 by KermMartian


© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.015055 seconds.