Changes between Version 7 and Version 8 of HTMLGfx
- Timestamp:
- Dec 28, 2014, 10:57:05 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HTMLGfx
v7 v8 13 13 14 14 == System Overview == 15 16 15 HTMLGfx leverages existing operating system dependent libraries for rendering HTML. By leveraging the operating systems HTML renderer HTMLGfx will be able to support whatever the latest technologies the operating systems browser supports. 17 16 18 17 == Design Considerations == 19 18 20 === Assumptions and Dependencies ===21 22 === General Constraints ===23 24 19 === Goals and Guidelines === 25 20 21 Top level goals are: 22 * Projects should only need to create HTML/CSS/!JavaScript to have a fully functional graphics application. 23 26 24 === Development Methods === 25 Use whatever framework/tools are required to build a customized browser-based application. 26 27 On Windows: 28 * Use Visual Studio 29 * Use Active Template Library 27 30 28 31 == Detailed System Design == 29 32 33 === CHTMLBrowserWnd === 34 This component is responsible for creating the main frame window used for hosting the web browser 35 control via CHTMLBrowserHost. 36 37 As part of the normal operations of the window, it should update the URL the web browser control is 38 displaying as state changes are detected. It should also publish updated information to the !JavaScript 39 interface. 40 41 It supports whatever requirements are described for BOINC graphics applications. 42 43 Reference: [GraphicsApi#Graphicsapps] 44 45 === CHTMLBrowserHost === 46 This component hosts the web browser control and exposes whatever interfaces/callbacks the control 47 requires for logging and display purposes. As part of its creation process it creates/exposes 48 the !JavaScript interface for CHTMLBrowserWnd to use. 49 50 === CHTMLBrowserHostUI === 51 This component acts as the !JavaScript interoperability component. It should only support single 52 threaded access. 53 30 54 === Configuration File === 31 32 55 The graphics description file has the logical name of '''boinc_graphics.xml''' 33 56 (its physical name should include a version number and other info). … … 56 79 57 80 === Graphics Status File === 58 59 81 It is read once a second and is generally managed via the worker applications via 60 82 the boinc_write_graphics_status() BOINC API. … … 106 128 107 129 ==== Examples ==== 108 109 130 Example of refreshing the state of various controls: 110 131 {{{