SDLCtrl: Added doc and included CtrlLib thanks to chickenk

git-svn-id: svn://ultimatepp.org/upp/trunk@3163 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
koldo 2011-02-04 23:00:58 +00:00
parent e65c28a69a
commit ba6e24a257
4 changed files with 47 additions and 6 deletions

View file

@ -1,7 +1,8 @@
description "SDL in an U++ control\377";
uses
Core;
Core,
CtrlLib;
library(MSC) SDL;

View file

@ -1,4 +1,5 @@
#ifndef _SDL_icpp_init_stub
#define _SDL_icpp_init_stub
#include "Core/init"
#include "CtrlLib/init"
#endif

View file

@ -1,11 +1,11 @@
topic "SDLCtrl";
topic "General Description";
[ $$0,0#00000000000000000000000000000000:Default]
[a83;*R6 $$1,0#31310162474203024125188417583966:caption]
[{_}%EN-US
[s1; [+184 SDLCtrl]&]
[s0; [2 SDL control for U`+`+.]&]
[s0;2 &]
[ {{10000 [s0;= [2 This package is preliminar so important changes are expected]]}}&]
[s0;2 &]
[s0; [2 It uses LGPL library SDL.]&]
[s0; ]
[s0; [2 It uses LGPL library SDL. The instructions to install it are
][^topic`:`/`/SDL`/srcdoc`/SDLInstall`$en`-us^2 here][2 .]&]
[s0; &]
[s0; [2 SDLCtrl`_demo package is a demo of SDLCtrl class capabilities.]]

View file

@ -0,0 +1,39 @@
topic "SDL install";
[ $$0,0#00000000000000000000000000000000:Default]
[a83;*R6 $$1,0#31310162474203024125188417583966:caption]
[{_}%EN-US
[s1; [+184 SDL install]&]
[s0; [2 SDL is easy and safe to install.]&]
[s0; &]
[s0; [* In Linux]&]
[s0;2 &]
[s0; [2 Install package libsdl1.2`-dev.]&]
[s0;2 &]
[s0;2 &]
[s0; [* In Windows]&]
[s0;2 &]
[s0; [*2 Safe way]&]
[s0;#2 &]
[s0;# [2 Download ][^https`:`/`/sourceforge`.net`/projects`/upp`/files`/GPL`-sources`/SDL`%20plugin`_LGPL`.7z`/download^2 S
DL][2 from U`+`+ Sourceforge following the link. They include
.dll, .lib, .a, .h and source code for recent versions.]&]
[s0;#2 &]
[s0;# [2 Copy the downloaded folders in upp folder. You will get a
folder structure like this:]&]
[s0;# [2 drive:`\upp`\plugin`_LGPL`\SDL]&]
[s0;2 &]
[s0; [2 In Setup/Build Methods menu include the next folders:]&]
[s0;%- &]
[ {{3371:3564:3065 [s0;= [2 PATH `- executable directories]]
:: [s0;= [2 INCLUDE directories]]
:: [s0;= [2 LIB directories]]
:: [s0; [2 drive:`\upp]]
:: [s0; [2 drive:`\upp`\plugin`_LGPL`\SDL`\include]]
:: [s0; [2 drive:`\upp`\plugin`_LGPL`\SDL`\lib]]}}&]
[s0;2 &]
[s0;2 &]
[s0; [*2 Medium]&]
[s0;2 &]
[s0; [2 Download binaries from ][^http`:`/`/www`.libsdl`.org`/download`-1`.2`.php^2 here][2 .
]&]
[s0;2 ]