Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Quant-X Alpha Linux Support <stefan@sime.com>
To: axp-list@redhat.com
Subject: dialog/gauge on RH5.1
Date: Fri, 26 Jun 1998 15:46:53 +0200	[thread overview]
Message-ID: <199806261346.PAA03289@stefan.sime.com> (raw)

Hi !

Problem: "dialog gauge" displays no bar when using ncurses 4.2.so
but it works on 1.9.9.e.

      wattrset(dialog, item_selected_attr);
      wmove(dialog, height - 3, 4);
      for (i = 0; i < x; i++) {
	  waddch(dialog, winch(dialog));
      }

but using "waddch(dialog, winch(dialog) | item_selected_attr);"
works here.

I'm not an ncurses expert and so I don't know if

 a) if the fix is correct (if, than dialog is broken)
 or
 b) waddch(dialog, winch(dialog)) should take care about
    wattrset(dialog, item_selected_attr); if so than
    forget about the fix and somebody should fix ncurses.


   Stefan Traby

-- 

Quant-X Service &                         Ph:  (+43) 4212 6004-0
Consulting Ges.m.b.H.                     Fax: (+43) 4212 600420
http://www.quant-x.com                    Email: support@quant-x.com


                 reply	other threads:[~1998-06-26 13:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox