diff --git a/bazaar/SDL/SDL.upp b/bazaar/SDL/SDL.upp index 66bc8af47..02bf375ff 100644 --- a/bazaar/SDL/SDL.upp +++ b/bazaar/SDL/SDL.upp @@ -1,7 +1,8 @@ description "SDL in an U++ control\377"; uses - Core; + Core, + CtrlLib; library(MSC) SDL; diff --git a/bazaar/SDL/init b/bazaar/SDL/init index 333bc391c..6ed43e640 100644 --- a/bazaar/SDL/init +++ b/bazaar/SDL/init @@ -1,4 +1,5 @@ #ifndef _SDL_icpp_init_stub #define _SDL_icpp_init_stub #include "Core/init" +#include "CtrlLib/init" #endif diff --git a/bazaar/SDL/srcdoc.tpp/SDLCtrl$en-us.tpp b/bazaar/SDL/srcdoc.tpp/SDLCtrl$en-us.tpp index 39cbc8624..a8239170a 100644 --- a/bazaar/SDL/srcdoc.tpp/SDLCtrl$en-us.tpp +++ b/bazaar/SDL/srcdoc.tpp/SDLCtrl$en-us.tpp @@ -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; ] \ No newline at end of file +[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.]] \ No newline at end of file diff --git a/bazaar/SDL/srcdoc.tpp/SDLInstall$en-us.tpp b/bazaar/SDL/srcdoc.tpp/SDLInstall$en-us.tpp new file mode 100644 index 000000000..d7c27ce53 --- /dev/null +++ b/bazaar/SDL/srcdoc.tpp/SDLInstall$en-us.tpp @@ -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 ] \ No newline at end of file