Popup Menus to set Line size and color

Share your custom panels, brushes, papers... (you need to be registered to read posts in this section)
Post Reply
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Popup Menus to set Line size and color

Post by Svengali »

Here are two other simple menus that popup at cursor position... for setting Line Size and A&B Color.

Line sizes default to:
1, 3, 5, 7, 9 and 15 but you can use a text editor to substitute or extend your own list of line size choices by editing this line:

Code: Select all

tv_ListRequest "1|3|5|7|9|15|"					// display list options
(Decimal values will work too.)


Note the popup menu color choices are restricted to black, white and two gray levels and may not be of much use to you. Here are those menu options:

Code: Select all

tv_ListRequest "Black |White |Gray |PickPixel |SwapAB"	// display menu options at current pen position
Assign each script to a custom button and then assign those to keyboard shortcuts to activate popup menus.

Sven
Attachments
LineSize&ColorMenu.zip
(1.1 KiB) Downloaded 237 times
Post Reply