William McBrine
956c5a445a
Doesn't work.
2019-09-15 10:33:43 -04:00
William McBrine
f294596357
Redundant code; on resize, move the cursor just enough to keep it
...
onscreen, instead of resetting it.
2019-09-15 08:22:01 -04:00
William McBrine
2048b6b93e
Removed meaningless argc/argv passing for non-X11 ports; made initscr()
...
the core routine and Xinitscr() the wrapper, as it should be.
2019-09-15 02:01:15 -04:00
William McBrine
2579ae1049
Xinitscr() isn't available in SDL.
2019-09-15 00:03:54 -04:00
William McBrine
b12c4a5212
In winsnstr() and wins_nwstr(), positive n values were treated as
...
minimums eather than maximums. Broken since 3.0. Reported by Ulf
Magnusson. GitHub issue #72 .
2019-09-14 15:16:29 -04:00
William McBrine
7eb7598115
The probably better way.
2019-09-11 11:46:45 -04:00
William McBrine
dcc68db1fd
To match the change in PDC_scr_open(), free SP in delscreen() rather
...
than PDC_scr_free().
2019-09-11 10:02:57 -04:00
William McBrine
e3c606be1e
Updated comments.
2019-09-11 09:52:24 -04:00
William McBrine
492b402134
More common code now.
2019-09-10 19:14:58 -04:00
William McBrine
e7b15a9f5e
Hmm... xmas looks better this way (ozdemo is sloooow).
2019-09-10 18:44:21 -04:00
William McBrine
264e1336eb
No longer needed.
2019-09-10 17:54:29 -04:00
William McBrine
6f25ffc884
Document PDC_doupdate(); remove obsolete note about PDC_update_rects().
2019-09-10 17:40:04 -04:00
William McBrine
6801fc1159
Same for sdl1.
2019-09-10 16:35:32 -04:00
William McBrine
6f06bef327
PDC_doupdate() for sdl2. A bit of a kludge. For GitHub #71 .
2019-09-10 16:18:54 -04:00
William McBrine
6503aa9277
The screen should really update on doupdate(), not just on idle.
...
Tentative fix for x11. Reported by Mark Hessling.
2019-09-10 10:06:24 -04:00
William McBrine
7a2d7c8b36
No reason now for pair_set[] to remain separate.
2019-09-09 00:17:09 -04:00
William McBrine
4d1920e51c
atrtab, unified again, in the new style.
2019-09-08 23:53:55 -04:00
William McBrine
c05cd3427c
rain and worm actually look better (or at least no worse, depending on the
...
platform) without the erasures on resizing.
2019-09-08 00:28:42 -04:00
William McBrine
43ca5474ad
Spurious initial KEY_RESIZE at start in x11 shut down firework, could
...
cause other issues. There's probably a better way to deal with it.
2019-09-07 23:24:40 -04:00
William McBrine
48b0c12975
PDC_get_input_fd() only returned a meaningful result under x11, but this
...
is impossible to reproduce in the single-process model. All other
platforms always returned zero... which may or may not have actually
worked with select(). Better to deprecate this, discourage its use, and
suggest alternative mechanisms.
2019-09-06 09:05:43 -04:00
William McBrine
1ec46eff98
Moved sb_* variables to sb.c.
2019-09-06 08:12:38 -04:00
William McBrine
6c1f95c4fa
Updated web site for 3.9.
2019-09-04 16:08:02 -04:00
William McBrine
ac0de05462
Removed x11old. I had in mind to release this with 3.9, but it's
...
suffering from bit rot already, and I can't bring myself to do it.
2019-09-04 12:31:55 -04:00
William McBrine
6afcc92d56
Autoconf for 3.9.
2019-09-04 12:27:41 -04:00
William McBrine
b7984d0e68
Updated for 3.9.
2019-09-04 12:17:18 -04:00
William McBrine
50bb066f85
Document resolution of timeout(), per #68 .
2019-09-04 00:30:44 -04:00
William McBrine
bc3b2b8f7a
Corrected description of napms(). #68
2019-09-04 00:09:17 -04:00
William McBrine
997c56c169
Update manual.
2019-09-03 10:58:41 -04:00
William McBrine
2e1cb3de95
Document resolution of napms(), per issue #68 .
2019-09-03 10:41:21 -04:00
William McBrine
7c2f2f13d1
Functions, XC_ -> PDC_
2019-09-02 19:53:55 -04:00
William McBrine
6189c976a7
Move extern variables to the pdc_ namespace.
2019-09-02 19:37:14 -04:00
William McBrine
3a2b906a25
Re-ordered to match pdcscrn.c; hopefully more sensible.
2019-09-02 11:25:14 -04:00
William McBrine
9586814625
Exit here instead (calls PDC_scr_free() on the way out, via atexit()).
2019-09-01 23:42:16 -04:00
William McBrine
b7064b4b72
Free SP in x11's PDC_scr_free(); don't exit.
2019-09-01 23:16:07 -04:00
William McBrine
ed8903bf26
No more x11.c.
2019-09-01 22:52:30 -04:00
William McBrine
043bf7e4dc
Finish dismantling x11.c.
2019-09-01 22:49:27 -04:00
William McBrine
88d2732171
Documentation updates.
2019-09-01 13:53:02 -04:00
William McBrine
a57f0b3f1d
Strip trailing spaces from selection; condensed.
2019-09-01 02:39:35 -04:00
William McBrine
3d7da3178a
No more checking for max signals.
2019-08-31 18:42:35 -04:00
William McBrine
1fa2400cb6
More things that don't need to be public.
2019-08-30 23:06:46 -04:00
William McBrine
be92ff7cf5
XCursesLINES and XCursesCOLS aren't really needed.
2019-08-30 21:04:32 -04:00
William McBrine
24acd29916
Unused.
2019-08-30 20:15:48 -04:00
William McBrine
d6b477d536
Cursor color is set automatically now.
2019-08-30 20:05:31 -04:00
William McBrine
47f67f61ee
Unneeded.
2019-08-30 18:05:17 -04:00
William McBrine
1733100a76
Capture mouse events without the need for translations or actions.
2019-08-30 16:06:11 -04:00
William McBrine
1a39d4fa6a
Keyboard setup -> pdckbd.c
2019-08-30 14:19:44 -04:00
William McBrine
08b155aa56
Broke out parts of the (very long) XCursesInitscr(). More to do here.
2019-08-30 01:53:07 -04:00
William McBrine
6b99f87cc0
Seems OK...
2019-08-29 21:22:00 -04:00
William McBrine
a6b1aeadb9
borderWidth wasn't working, and apparently, hasn't worked since at least
...
2.7. Hmm.
2019-08-29 07:46:55 -04:00
William McBrine
bc1f93b4ca
In the absence of scrollbars, make drawing = topLevel, for smoother
...
resizing; make background(s) black. More testing needed.
2019-08-29 00:12:39 -04:00