[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Color support in NCursesMenu::post()
From: |
ncurses |
Subject: |
Re: Color support in NCursesMenu::post() |
Date: |
Sat, 6 Jan 2018 12:10:11 +0100 |
User-agent: |
Mutt/1.5.23hg (2014-03-12) |
Hi all,
the original patches are attached.
Quick description:
1) new field in NCursesMenuItem:
tagITEM - unsigned int attr; /* Item attributes */
2) New functions introduced:
set_item_attr() /* Set attribute as attron() does */
item_attr() /* Return current attributes of the item */
3) Patched _nc_Post_Item() to actually format the item
On 20180102 2221, Federico Di Pierro wrote:
> On 02/01/2018 22:07, Thomas Dickey wrote:
> >On Tue, Jan 02, 2018 at 06:41:29PM +0100, address@hidden wrote:
> >>Hi all,
> >>
> >>I have actually tried to implement this two years ago (2015-10-03), but it
> >>was not accepted...
>
> Is your patch still alive somewhere? Did you choose to add a new method or
> did you added a new attribute to NCursesMenuItem?
>
>
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-ncurses
menu.h.diff
Description: Text document
m_item_opt.c.diff
Description: Text document
m_post.c.diff
Description: Text document
- Re: Color support in NCursesMenu::post(), Thomas Dickey, 2018/01/01
- Re: Color support in NCursesMenu::post(), ncurses, 2018/01/02
- Re: Color support in NCursesMenu::post(), Thomas Dickey, 2018/01/02
- Re: Color support in NCursesMenu::post(), Federico Di Pierro, 2018/01/02
- Re: Color support in NCursesMenu::post(), Thomas Dickey, 2018/01/02
- Re: Color support in NCursesMenu::post(),
ncurses <=
- Re: Color support in NCursesMenu::post(), Thomas Dickey, 2018/01/06
- Re: Color support in NCursesMenu::post(), Federico Di Pierro, 2018/01/07
- Re: Color support in NCursesMenu::post(), Thomas Dickey, 2018/01/07
- Re: Color support in NCursesMenu::post(), Federico Di Pierro, 2018/01/07
- Re: Color support in NCursesMenu::post(), ncurses, 2018/01/08
Re: Color support in NCursesMenu::post(), Federico Di Pierro, 2018/01/02