Re: [fltk.general] Changing an Fl_Menu_Bar item colors

2013-02-10 Thread Sanel Zukan
True; this would be quite challenging to achieve as Fl_Menu_Item provides only plain draw(). For the similar reason (to add icons support inside menu items) I had to literally 'fork' the whole menu hierarchy :S Sanel On Thu, Jan 31, 2013 at 05:50:21AM -0800, MacArthur, Ian (Selex ES, UK) wrote:

Re: [fltk.general] Changing an Fl_Menu_Bar item colors

2013-02-01 Thread MacArthur, Ian (Selex ES, UK)
Here's a test - is this any better? > If you send a message that uses characters from certain character sets > in the message body. Messages that use character sets from the > following code pages are encoded as Base64 messages when they are sent > from an Exchange 2000 computer: > > Shift-JI

Re: [fltk.general] Changing an Fl_Menu_Bar item colors

2013-01-31 Thread mickey
>For what it is worth... I just fired a few of my trashed messages through a >hack decoder I knocked up; and it is Base64 encoding as I suspected. In the days of 7 bit ASCII base64 was a necessity today it is rank stupidity. >So... I have to assume some setting has been "improved" by the clowns

Re: [fltk.general] Changing an Fl_Menu_Bar item colors

2013-01-31 Thread Ian MacArthur
> > On 31 Jan 2013, at 19:40, David Allen wrote: > > > Posts from Ian come up as a big block of letters in my browser. Is = > this some kind of compressed file or is there a problem somewhere? I use = > Opera on Ubuntu. > > Urgh! I had not seen that, they get delivered here OK... > > But looking on

Re: [fltk.general] Changing an Fl_Menu_Bar item colors

2013-01-31 Thread Ian MacArthur
On 31 Jan 2013, at 19:40, David Allen wrote: > Posts from Ian come up as a big block of letters in my browser. Is this some > kind of compressed file or is there a problem somewhere? I use Opera on > Ubuntu. Urgh! I had not seen that, they get delivered here OK... But looking on the forum vie

Re: [fltk.general] Changing an Fl_Menu_Bar item colors

2013-01-31 Thread David Allen
Posts from Ian come up as a big block of letters in my browser. Is this some kind of compressed file or is there a problem somewhere? I use Opera on Ubuntu. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] Changing an Fl_Menu_Bar item colors

2013-01-31 Thread MacArthur, Ian (Selex ES, UK)
> Thanks for the reply. This code works well for changing the text > foreground color. > > However I also need to change the background color (the gray box behind > the text). > > Any ideas how to change the background color in an Fl_Menu_Bar item? I don't think there is an easy fix for this (t

Re: [fltk.general] Changing an Fl_Menu_Bar item colors

2013-01-30 Thread Howard Rubin
Thanks for the reply. This code works well for changing the text foreground color. However I also need to change the background color (the gray box behind the text). Any ideas how to change the background color in an Fl_Menu_Bar item? Thanks, Howard Rubin On 28 Jan 2013 05:37:11 -0800, Sanel

Re: [fltk.general] Changing an Fl_Menu_Bar item colors

2013-01-29 Thread Sanel Zukan
Hi, I had a similar requirement some time ago, so workaround like this helped me. There are hidden gems here and there... :) Sanel On 01/28/2013 03:10 PM, MacArthur, Ian (Selex ES, UK) wrote: > Hi Sanel, > > That's neat - I didn’t know that worked! > > >> First you need to assign callback to

Re: [fltk.general] Changing an Fl_Menu_Bar item colors

2013-01-28 Thread MacArthur, Ian (Selex ES, UK)
Hi Sanel, That's neat - I didn’t know that worked! > First you need to assign callback to desired Fl_Menu_Item, whose colors > you are going to change. From callback you can access Fl_Menu_Bar and > by > using mvalue() member, you can access to selected item; from there you > can change label co

Re: [fltk.general] Changing an Fl_Menu_Bar item colors

2013-01-28 Thread Sanel Zukan
First you need to assign callback to desired Fl_Menu_Item, whose colors you are going to change. From callback you can access Fl_Menu_Bar and by using mvalue() member, you can access to selected item; from there you can change label color, background and etc. Here is example: static void color_cb

Re: [fltk.general] Changing an Fl_Menu_Bar item colors

2013-01-24 Thread MacArthur, Ian (Selex ES, UK)
> I have an Fl_Menu_Bar with a few added items that have the > FL_MENU_TOGGLE property. This adds checkboxes to the menu. > > I need to change the visual indication that each menu item has been > clicked from the checkbox to toggling menu item foreground (text) and > background colors. > > Obvio

[fltk.general] Changing an Fl_Menu_Bar item colors

2013-01-22 Thread Howard Rubin
I have an Fl_Menu_Bar with a few added items that have the FL_MENU_TOGGLE property. This adds checkboxes to the menu. I need to change the visual indication that each menu item has been clicked from the checkbox to toggling menu item foreground (text) and background colors. Obviously I could e