Skip to content

Commit

Permalink
Documentation updates : HISTORY.md and MANUAL.md updated. Extended RE…
Browse files Browse the repository at this point in the history
…ADME.md for the framebuffer/DRM port to describe possible mechanisms for adding fullwidth characters and an application title bar.
  • Loading branch information
Bill-Gray committed May 8, 2024
1 parent eef38df commit 8aa629c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 10 deletions.
22 changes: 20 additions & 2 deletions docs/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Generally speaking, this history mentions only the more significant
changes. See the git log for full details.

Current PDCursesMod - 2024 April 23
===================================
Current PDCursesMod - 2024 May 07
=================================

Bug fixes
---------
Expand Down Expand Up @@ -38,6 +38,17 @@ Bug fixes
- Plan9 port ran into a compile error due to different timekeeping
functions. Also was missing a few demos and term.h. 1e8472cdbf

- Removed an assert() in mvwin() when the window was moved outside the
screen area. Some programs (including 'test_pan') assume they can try
moving a window, then check the return value to see if it was actually
on screen. c801354044

- PDC_set_box_type() has been removed, because it's an unneeded redundancy.
You can get double-lined or thick-lined boxes, and/or rounded corners,
via the standard Curses wborder_set() function, and it'll work with
ncurses and other libraries. f8d87ed549 099fa2876c


Minor new features
------------------

Expand All @@ -56,6 +67,13 @@ Minor new features
- Three new small test programs to investigate various aspects of
how curses works (or doesn't work). 5cef1e3d00

- The 'tests' programs can now be built, on some platforms, with
'make -f Makefile tests'. 200b548516

- 'test_pan' now demonstates double-lined, thick-lined, and rounded
box corners using wborder_set() instead of with the PDCursesMod-only
PDC_set_box_type() function. f8d87ed549 099fa2876c

PDCursesMod 4.4.0 - 2023 November 30
===================================

Expand Down
6 changes: 0 additions & 6 deletions docs/MANUAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,6 @@ border
int mvvline_set(int y, int x, const cchar_t *wch, int n);
int mvwhline_set(WINDOW *win, int y, int x, const cchar_t *wch, int n);
int mvwvline_set(WINDOW *win, int y, int x, const cchar_t *wch, int n);
int PDC_set_box_type( const int box_type);

### Description

Expand All @@ -598,11 +597,6 @@ border
bl bottom left corner of border ACS_LLCORNER
br bottom right corner of border ACS_LRCORNER

PDC_set_box_type() can reset these defaults to use the double-line
characters. 'box_type' can include the bitflag constants.
PDC_BOX_DOUBLED_V and/or PDC_BOX_DOUBLED_H. The previously set
default box type is returned.

hline() and whline() draw a horizontal line, using ch, starting from
the current cursor position. The cursor position does not change. The
line is at most n characters long, or as many as will fit in the
Expand Down
4 changes: 2 additions & 2 deletions fb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ In no order :

- Fix the above shortcomings.
- Fallback fonts.
- Fullwidth characters. For these, we may need one font that is, say, 8 pixels wide (for most characters) and one that is 16 pixels wide for the fullwidth characters. That may be an extension of the above task of having fallback fonts : "Didn't find the desired glyph in the 'normal' font? Maybe it's in a fallback font."
- Fullwidth characters. For these, we may need one font that is, say, 8 pixels wide (for most characters) and one that is 16 pixels wide for the fullwidth characters. That may be an extension of the above task of having fallback fonts : "Didn't find the desired glyph in the 'normal' font? Maybe it's in a fallback font." Alternatively, we can make use of the fact that the Unicode-to-glyph table can have the same Unicode value twice. The first one would point to a 'left' glyph; the second to a 'right' glyph. Probably the way I'll go...
- Programmatic resizing through `resize_term()`, both before and after calling `initscr()`.
- User-resizing and moving of windows, if we can get the mouse to work.
- Reserve a line at the top wherein the application title and close/full-screen/minimize buttons can go.
- Reserve a line at the top wherein the application title and close/full-screen/minimize buttons can go. The `ripoffline()` function may be useful here.

Building
--------
Expand Down

0 comments on commit 8aa629c

Please sign in to comment.