{"shas":[["7e51c8098d59de4efb1c9a8588bbd24d9764a52b","75b70f51bdd9713956e5ee2bbc5e13f75589eb77@pgadmin.org","Replace all the XPM images in pgAdmin with PNG ones. This offers us\ntwo major advantages:\n\n1) XPM images aren't supported by many graphics tools, and almost\nalways require manual editing to fix the internal naming anyway.\n\n2) XPM images don't support alpha transparency.\n\nThe patch is a little complex, as it's not straightforward to embed\nPNG images at build time. Here's what it does:\n\n- Adds a new project, png2c, on which the pgAdmin project is dependent.\n- Adds a new build rule for .png files, which will cause them to be\npre-processed with png2c, to create .pngc files which are C source\ncode, containing the PNG data and some accessor functions and macros.\n- #include's the .pngc files in place of the XPMs.\n- Updates the rest of the code to use the new accessor macros created\nin the .pngc files:\n\n   filename_png_img - represents a wxImage*\n   filename_png_bmp - represents a wxBitmap*\n   filename_png_ico - represents a wxIcon*\n\nEach of the accessors uses static data, so in theory, this also gives\nus a performance optimisation as any given image only need be\nconverted to a different format (by using the appropriate accessor)\nonce, upon first access.","Dave Page"],["451d4641ba3a231eb5818a6a0b3972a0e3752d1b","75b70f51bdd9713956e5ee2bbc5e13f75589eb77@pgadmin.org","Fix warning on VC++","Dave Page"]],"repo":"postgres/pgadmin3","actor":"postgres-mirror","ref":"refs/heads/master","size":2,"head":"451d4641ba3a231eb5818a6a0b3972a0e3752d1b","actor_gravatar":"b843ba1ea54a1b6c35a20550ad076b2b","push_id":26242100}