ocaml / graphics

The Graphics library from OCaml, in a standalone repository
Other
56 stars 29 forks source link

Graphics: foreground and background colors should be changeable #10

Open vicuna opened 21 years ago

vicuna commented 21 years ago

Original bug ID: 1710 Reporter: administrator Status: acknowledged Resolution: open Priority: normal Severity: feature Category: otherlibs

Bug description

tags 179254 upstream severity wishlist thanks

Bonjour,

Je suis en train de faire le menage dans le bts du package debian ocaml, et je suis tomber sur ces deux bugreports, que je pensais avoir fait suivre upstram precedement, mais que je ne retrouve pas dans le BTS ocaml. Voila qui est fait donc.

Amicalement,

Sven Luther

On Fri, Jan 31, 2003 at 09:34:11PM +0100, Goswin Brederlow wrote:

Package: ocaml Version: 3.06-15 Severity: wishlist

There seems to be no way to change the foreground and background colors in module Graphics. The problem is that X uses the background color to fill in missing peaces when resizeing or when uncovering regions before seding an expose event. If the background is white and the actual graphic displayed is black that is very anoying to the eye.

Setting the background color to something roughly reflecting the average color displayed greatly reduces flickering.

MfG Goswin

-- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux dual 2.4.19 #11 SMP Thu Jan 9 00:18:31 CET 2003 i686 Locale: LANG=C, LC_CTYPE=de_DE

Versions of packages ocaml depends on: ii libc6 2.3.1-10 GNU C Library: Shared libraries an ii libncurses5-dev 5.3.20021109-2 Developer's libraries and docs for ii ocaml-base [ocaml-base-3. 3.06-15 Runtime system for ocaml bytecode

-- debconf information excluded