summaryrefslogtreecommitdiffstats
path: root/win/rc
diff options
context:
space:
mode:
authormdejong <mdejong@noemail.net>2006-12-17 00:43:04 (GMT)
committermdejong <mdejong@noemail.net>2006-12-17 00:43:04 (GMT)
commit20d78fbba92c4ec902c12936ce608eb0536c6179 (patch)
tree5cd38cfa91b99fd3cfd7dd620f620aa0c0197ee3 /win/rc
parent0623c75ef33b00ffd6db13a2a0de25da13031b1e (diff)
downloadtk-20d78fbba92c4ec902c12936ce608eb0536c6179.zip
tk-20d78fbba92c4ec902c12936ce608eb0536c6179.tar.gz
tk-20d78fbba92c4ec902c12936ce608eb0536c6179.tar.bz2
* doc/cursors.n: Mention "none" in supported
cursor list. Fix comment that incorrectly claims that the Win32 "no" cursor hides the cursor. * tests/cursor.test: Test "none" cursor. * unix/tkUnixCursor.c (CreateCursorFromTableOrFile, TkGetCursorByName): Define a table of Tk cursors that is searched in addition to the X cursor table. A Tk cursor is loaded from a data string and works with the same options as the built in X cursors. This code makes it possible to use "none" as a cursor name under Unix. * win/rc/cursor9a.cur: Added none Win32 cursor. * win/rc/tk_base.rc: Define a built-in Win32 cursor named "none". [Patch 1615427] FossilOrigin-Name: 3d756d41ff0106cee0eaebcf90af4b481627b10f
Diffstat (limited to 'win/rc')
-rw-r--r--win/rc/cursor9a.curbin0 -> 326 bytes
-rw-r--r--win/rc/tk_base.rc4
2 files changed, 3 insertions, 1 deletions
diff --git a/win/rc/cursor9a.cur b/win/rc/cursor9a.cur
new file mode 100644
index 0000000..048f06b
--- /dev/null
+++ b/win/rc/cursor9a.cur
Binary files differ
diff --git a/win/rc/tk_base.rc b/win/rc/tk_base.rc
index 456a5aa..1f5fe28 100644
--- a/win/rc/tk_base.rc
+++ b/win/rc/tk_base.rc
@@ -1,4 +1,4 @@
-// RCS: @(#) $Id: tk_base.rc,v 1.4 2006/12/12 23:38:22 mdejong Exp $
+// RCS: @(#) $Id: tk_base.rc,v 1.5 2006/12/17 00:43:06 mdejong Exp $
//
// Base resources needed by Tk whether it's a DLL or a static library.
//
@@ -137,3 +137,5 @@ umbrella CURSOR DISCARDABLE "cursor92.cur"
ur_angle CURSOR DISCARDABLE "cursor94.cur"
watch CURSOR DISCARDABLE "cursor96.cur"
xterm CURSOR DISCARDABLE "cursor98.cur"
+none CURSOR DISCARDABLE "cursor9a.cur"
+