]> git.saurik.com Git - wxWidgets.git/blame - docs/tech/tn0023.txt
extracted the part of ProcessEvent() which is repeated multiple times during the...
[wxWidgets.git] / docs / tech / tn0023.txt
CommitLineData
c7f200e9
KO
1 Adding a new app/screenshot to the wxWidgets.org front page
2 =====================================
3
4To add a new app/screenshot to the front page, you first will need to have the
5following:
6
71. The application Name
82. A URL for the application
93. A series of screenshots for the app
10
11Each screenshot should have a 300 pixel width. A height around 225 pixels is
12preferred, but it's more important to keep the aspect ratio of the screenshot.
13Screenshot format is not important, but the important thing is to use the format
14that gives you the best ratio of picture compression and size. Also, please
15make sure the screenshots all have the app name in them.
16
17Once you have the screenshots and info ready, take the following steps to
18update the web site:
19
201) Put the screenshots in <wxWebSite root>/site-v2/images/front_screens
21
222) Open <wxWebSite root>/site-v2/index.php
23
243) Look for the "$apps = array();" line. Below it will be a series of items,
25which are the data used for each app shown in the front page screenshots.
26
27Add a new line at the bottom, with the following format:
28
29$apps[] = array(appname, appurl, array(screenshot1, screenshot2, ...));
30
31The screenshot1, etc. filenames should not have any path to them. They should
32just be the filename. The actual shown screenshot is chosen at random from
33the list of screenshots, so order, etc. doesn't matter.
34
35Once you've done this, the new app w/screenshots should appear on the front page!