For Programmers: Free Programming Magazines  


Home > Archive > Matlab > February 2007 > Changing Cursor Color









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Changing Cursor Color
Greg

2007-02-28, 7:14 pm

After reading Matlab manuals and on-line help, I have not found any
info for changing the cursor color (e.g. a white cursor would be nice
on a black background).

Thanks,
Greg
Walter Roberson

2007-02-28, 7:14 pm

In article <ef4f1cc.-1@webcrossing.raydaftYaTP>,
Greg <gregory.a.benedict@lmco.com> wrote:
>After reading Matlab manuals and on-line help, I have not found any
>info for changing the cursor color (e.g. a white cursor would be nice
>on a black background).


The help section on "Defining Custom Pointers" indicates that,

Custom pointers are 16-by-16 pixels, where each pixel can be either
black, white, or transparent.

Specify the pointer by creating a 16-by-16 matrix containing
elements that are

1's where you want the pixel black

2's where you want the pixel white

NaNs where you want the pixel transparent


The implication is: no colour.
--
"It is important to remember that when it comes to law, computers
never make copies, only human beings make copies. Computers are given
commands, not permission. Only people can be given permission."
-- Brad Templeton
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com