"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sdl2/README.md" between
PDCurses-3.8.tar.gz and PDCurses-3.9.tar.gz

About: PDCurses is a multiple platforms curses library implementing most of the functions available in X/Open and System V R4 curses.

README.md  (PDCurses-3.8):README.md  (PDCurses-3.9)
skipping to change at line 33 skipping to change at line 33
simple bitmap fonts. "UTF8=Y" makes PDCurses ignore the system locale, simple bitmap fonts. "UTF8=Y" makes PDCurses ignore the system locale,
and treat all narrow-character strings as UTF-8; this option has no and treat all narrow-character strings as UTF-8; this option has no
effect unless WIDE=Y is also set. Under Windows, you can specify effect unless WIDE=Y is also set. Under Windows, you can specify
"DLL=Y" to build pdcurses.dll instead a static library. And on all "DLL=Y" to build pdcurses.dll instead a static library. And on all
platforms, add the target "demos" to build the sample programs. platforms, add the target "demos" to build the sample programs.
Usage Usage
----- -----
There are no special requirements to use PDCurses for SDL -- all There are no special requirements to use PDCurses for SDL -- all
PDCurses-compatible code should work fine. (In fact, you can even build PDCurses-compatible code should work fine. Nothing extra is needed
against the Windows console pdcurses.dll, and then swap in the SDL beyond the base SDL library. However, there are some optional special
pdcurses.dll.) Nothing extra is needed beyond the base SDL library. features, described here.
However, there are some optional special features, described here.
The SDL ports operate in one of two ways, depending on whether or not The SDL ports operate in one of two ways, depending on whether or not
they were built with WIDE=Y: they were built with WIDE=Y:
### 8-bit mode ### 8-bit mode
The font is a simple BMP, 32 characters wide by 8 characters tall, The font is a simple BMP, 32 characters wide by 8 characters tall,
preferably with a palette. (BMPs without palettes still work, but in preferably with a palette. (BMPs without palettes still work, but in
that case, no attributes will be available, nor will the cursor work.) that case, no attributes will be available, nor will the cursor work.)
The first entry in the palette (usually black) is treated as the The first entry in the palette (usually black) is treated as the
skipping to change at line 105 skipping to change at line 104
As with the font, you can point to a location for the background via the As with the font, you can point to a location for the background via the
environment variable PDC_BACKGROUND; "pdcback.bmp" is the fallback. environment variable PDC_BACKGROUND; "pdcback.bmp" is the fallback.
(There is no default background.) (There is no default background.)
Icons Icons
----- -----
The icon (used with SDL_SetWindowIcon() -- not used for the executable The icon (used with SDL_SetWindowIcon() -- not used for the executable
file) can be set via the environment variable PDC_ICON, and falls back file) can be set via the environment variable PDC_ICON, and falls back
to "pdcicon.bmp", and then to the built-in icon from iconbmp.h. The to "pdcicon.bmp", and then to the built-in icon from iconbmp.h. The
built-in icon is the PDCurses logo, as seen in ../common/icon32.xbm. built-in icon is the PDCurses logo, as seen in ../common/icon32.xpm.
If pdc_screen is preinitialized (see below), PDCurses does not attempt If pdc_screen is preinitialized (see below), PDCurses does not attempt
to set the icon. to set the icon.
Screen size Screen size
----------- -----------
The default screen size is 80x25 characters (whatever size they may be), The default screen size is 80x25 characters (whatever size they may be),
but you can override this via the environment variables PDC_COLS and/or but you can override this via the environment variables PDC_COLS and/or
PDC_LINES. (Some other ports use COLS and LINES; this is not done here PDC_LINES. (Some other ports use COLS and LINES; this is not done here
skipping to change at line 199 skipping to change at line 198
and stderr may be redirected to files. and stderr may be redirected to files.
Distribution Status Distribution Status
------------------- -------------------
The files in this directory are released to the public domain. The files in this directory are released to the public domain.
Acknowledgements Acknowledgements
---------------- ----------------
The original SDL port was provided by William McBrine. Original SDL port was provided by William McBrine
SDL2 modifications by Laura Michaels and Robin Gustafsson
The initial SDL2 support patch was created by Laura Michaels.
The SDL2 port was put together and further developed by Robin Gustafsson.
 End of changes. 3 change blocks. 
5 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)