Changes between Version 22 and Version 23 of GraphicsApi


Ignore:
Timestamp:
Jan 28, 2008, 7:46:45 PM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GraphicsApi

    v22 v23  
    129129use a semaphore to synchronize access so that the graphics app
    130130doesn't see an inconsistent state.
     131
     132== Creating an icon for your applications ==
     133
     134(The following instructions, for Windows, are from Bernd Machenschalk):
     135
     136 *  make Icons (honestly I don't remember much about this - I vaguely remember there was a tool for this in Visual Studio), say "boincAppIcon16x16.ico", "boincAppIcon32x32.ico" and "boincAppIcon48x48.ico".
     137
     138 * create a simple resource description file "boincAppIcon.rc" in the same directory as the icon files pointing to the icon filenames, the first entry is the resource name that is later passed to setWinIcon():
     139{{{
     140boinca16 ICON boincAppIcon16x16.ico
     141boinca32 ICON boincAppIcon32x32.ico
     142boinca48 ICON boincAppIcon48x48.ico
     143}}}
     144 * compile the resource (I do this on a Visual Studio Command Prompt):
     145{{{
     146rc.exe boincAppIcon.rc
     147}}}
     148 * when linking the App, add the resulting file boincAppIcon.RES to the objects
     149
     150 * we call setWinIcon("boinca16","boinca48") in app_graphics_init()
     151