summaryrefslogtreecommitdiffstats
path: root/win/rc
diff options
context:
space:
mode:
authormdejong <mdejong>2006-12-17 00:43:05 (GMT)
committermdejong <mdejong>2006-12-17 00:43:05 (GMT)
commited73d7a875d9fdd14b166486428e6d9bd1b56a26 (patch)
tree5cd38cfa91b99fd3cfd7dd620f620aa0c0197ee3 /win/rc
parente0a77c7c5578429f885bc7c5d7b5b146676c0982 (diff)
downloadtk-ed73d7a875d9fdd14b166486428e6d9bd1b56a26.zip
tk-ed73d7a875d9fdd14b166486428e6d9bd1b56a26.tar.gz
tk-ed73d7a875d9fdd14b166486428e6d9bd1b56a26.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]
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"
+