Commit 3ea29318c58dd8391025adb4ccd3b36aa4e4e26b

Authored by Ben Finney
1 parent 6f1118c0

Import source for “0.9” from upstream tarball.

.bzrignore 0 → 100644
... ... @@ -0,0 +1,4 @@
  1 +.project
  2 +.buildpath
  3 +.cproject
  4 +.settings
... ...
.gitignore 0 → 100644
... ... @@ -0,0 +1,7 @@
  1 +obsolete
  2 +build
  3 +cursors
  4 +tmp
  5 +*~
  6 +svg/*/*frame*.svg
  7 +.directory
... ...
AUTHORS
1 1 Authors:
2 2  
3   -Jens Luetkens <j.luetkens@hamburg.de>
  3 +Jens Luetkens <j.luetkens@limitland.de>
4 4 Ben Finney <ben+opendesktop@benfinney.id.au>
5 5  
6 6 Thanks to uga and his RedDot cursors
... ...
CURSORNAMES.md 0 → 100644
... ... @@ -0,0 +1,276 @@
  1 +The cursors are named according to the current freedesktop.org cursor
  2 +conventions specification (draft):
  3 +
  4 + <http://www.freedesktop.org/Standards/cursor-spec>
  5 +
  6 +Other cursors are provided as symlinks by name or hash.
  7 +
  8 +
  9 + X-cursor The X window system logo.
  10 + default Default cursor. Indicates the interface is idle and prepared to accept commands from the user. Used to manipulate basic user interface elements like buttons and scrollbars. Usually a left pointing diagonal arrow.
  11 + right-arrow Inverted version of the default cursor. This cursor is used in Motif when a popup menu or a drop down combo-box is open, to indicate that the widget has grabbed the mouse. Typically rendered as a right pointing diagonal arrow.
  12 + up-arrow Up pointing arrow cursor. This cursor is typically used to identify an insertion point.
  13 + text Text input cursor. Indicates that the cursor is in a region in which horizontal text can be selected and possibly edited. Typically rendered as a vertical I-beam.
  14 + vertical-text Text input cursor. Indicates that the cursor is in a region in which vertical text can be selected and possibly edited. Typically rendered as a horizontal I-beam.
  15 + pointer Indicates that the object below the cursor is clickable. This cursor is typically used for links in web browsers. It shouldn't be abused for pushbuttons and other UI elements where it's otherwise apparent by the design of the widget that it's a clickable object. Often rendered as a pointing hand.
  16 + crosshair Crosshair cursor. Typically used for precision drawing or manipulation of an area.
  17 + help Help cursor. Indicates that the system is in a context help mode, and if the user clicks an object a small window will open up to provide usage information for that object. The context help mode is typically activated by clicking a help button on the titlebar of a window that provides context help. Often rendered as the default cursor with a question mark symbol next to it.
  18 + progress Default cursor + busy cursor. Indicates a pending activity which may asynchronously affect the interface but which is not blocking commands from the user.
  19 + wait Busy cursor. Indicates that the interface is not prepared to accept commands from the user and is blocked on some external resource. Often rendered as a watch or an hourglass.
  20 + copy !DnD copy cursor. Indicates that a copy of the dragged object will be created in the area below the cursor if dropped. Typically rendered as the default cursor with a small plus sign next to it.
  21 + alias !DnD link cursor. Indicates that a link to the original location of the dragged object will be created in the area below the cursor if dropped. Typically rendered as the default cursor with a small curved arrow next to it.
  22 + no-drop !DnD no-drop cursor. Indicates that the dragged object can't be dropped in the region below the cursor. Typically rendered as the default cursor with a small circle with a diagonal line through it. Can be identical to not-allowed.
  23 + not-allowed Forbidden cursor. Indicates that a particular region is invalid for the current operation. Often rendered as circle with a diagonal line through it.
  24 + cell The thick plus sign cursor that's typically used in spread-sheet applications to select cells.
  25 + all-scroll Scroll/move cursor. Used to indicate that moving the mouse will also move the UI element below the cursor. Often rendered as a combined vertical and horizontal twin-headed arrow.
  26 + context-menu Indicates that a context menu is available for the object underneath the cursor. Typically rendered as the default cursor with a small menu-like graphic next to it.
  27 + row-resize Horizontal splitter bar cursor. Indicates that the bar below the cursor can be moved up and down to resize the objects it separates. Used when it's not apparent if the object below the cursor is just a visual separator between two other UI elements, or an object that can be manipulated. Usually rendered as a vertical twin-headed arrow, split in the middle by a horizontal line.
  28 + col-resize Vertical splitter bar cursor. Indicates that the bar below the cursor can be moved left and right to resize the objects it separates. Used when it's not apparent if the object below the cursor is just a visual separator between two other UI elements, or an object that can be manipulated. Usually rendered as a horizonal twin-headed arrow, split in the middle by a vertical line.
  29 + e-resize Indicates that the cursor is over the right edge of a window, and that the edge can be clicked and dragged in order to resize the window horizontally.
  30 + ne-resize Indicates that the cursor is over the top-right edge of a window, and that the edge can be clicked and dragged in order to resize the window diagonally.
  31 + nw-resize Indicates that the cursor is over the top-left edge of a window, and that the edge can be clicked and dragged in order to resize the window diagonally.
  32 + n-resize Indicates that the cursor is over the top edge of a window, and that the edge can be clicked and dragged in order to resize the window vertically.
  33 + se-resize Indicates that the cursor is over the bottom-right edge of a window, and that the edge can be clicked and dragged in order to resize the window diagonally.
  34 + sw-resize Indicates that the cursor is over the bottom-left edge of a window, and that the edge can be clicked and dragged in order to resize the window diagonally.
  35 + s-resize Indicates that the cursor is over the bottom edge of a window, and that the edge can be clicked and dragged in order to resize the window vertically.
  36 + w-resize Indicates that the cursor is over the left edge of a window, and that the edge can be clicked and dragged in order to resize the window horizontally.
  37 + ew-resize Horizontal resizing cursor. Indicates that cursor is over the the left or right edge of a window, and that ithe edge can be clicked and dragged to resize the window horizontally. Typically rendered as a horizontal twin-headed arrow.
  38 + ns-resize Vertical resizing cursor. Indicates that cursor is over the the top or bottom edge of a window, and that the edge can be clicked and dragged to resize the window vertically. Typically rendered as a verticaly twin-headed arrow.
  39 + nesw-resize Back-diagonal resizing cursor. Indicates that the UI element below the cursor is the top-right or bottom-left corner of a window, and that it can be clicked and dragged to resize the window diagonally. Typically a twin-headed arrow.
  40 + nwse-resize Forward-diagonal resizing cursor. Indicates that the UI element below the cursor is the top-left or bottom-right corner of a window, and that it can be clicked and dragged to resize the window diagonally. Typically a twin-headed arrow.
  41 +
  42 +This is the current xorg naming convention (CursorName.c, cursor.bdf):
  43 +
  44 + x_cursor XC_X_cursor
  45 + arrow XC_arrow
  46 + based_arrow_down XC_based_arrow_down
  47 + based_arrow_up XC_based_arrow_up
  48 + boat XC_boat
  49 + bogosity XC_bogosity
  50 + bottom_left_corner XC_bottom_left_corner
  51 + bottom_right_corner XC_bottom_right_corner
  52 + bottom_side XC_bottom_side
  53 + bottom_tee XC_bottom_tee
  54 + box_spiral XC_box_spiral
  55 + center_ptr XC_center_ptr
  56 + circle XC_circle
  57 + clock XC_clock
  58 + coffee_mug XC_coffee_mug
  59 + cross XC_cross
  60 + cross_reverse XC_cross_reverse
  61 + crosshair XC_crosshair
  62 + diamond_cross XC_diamond_cross
  63 + dot XC_dot
  64 + dotbox XC_dotbox
  65 + double_arrow XC_double_arrow
  66 + draft_large XC_draft_large
  67 + draft_small XC_draft_small
  68 + draped_box XC_draped_box
  69 + exchange XC_exchange
  70 + fleur XC_fleur
  71 + gobbler XC_gobbler
  72 + gumby XC_gumby
  73 + hand1 XC_hand1
  74 + hand2 XC_hand2
  75 + heart XC_heart
  76 + icon XC_icon
  77 + iron_cross XC_iron_cross
  78 + left_ptr XC_left_ptr
  79 + left_side XC_left_side
  80 + left_tee XC_left_tee
  81 + leftbutton XC_leftbutton
  82 + ll_angle XC_ll_angle
  83 + lr_angle XC_lr_angle
  84 + man XC_man
  85 + middlebutton XC_middlebutton
  86 + mouse XC_mouse
  87 + pencil XC_pencil
  88 + pirate XC_pirate
  89 + plus XC_plus
  90 + question_arrow XC_question_arrow
  91 + right_ptr XC_right_ptr
  92 + right_side XC_right_side
  93 + right_tee XC_right_tee
  94 + rightbutton XC_rightbutton
  95 + rtl_logo XC_rtl_logo
  96 + sailboat XC_sailboat
  97 + sb_down_arrow XC_sb_down_arrow
  98 + sb_h_double_arrow XC_sb_h_double_arrow
  99 + sb_left_arrow XC_sb_left_arrow
  100 + sb_right_arrow XC_sb_right_arrow
  101 + sb_up_arrow XC_sb_up_arrow
  102 + sb_v_double_arrow XC_sb_v_double_arrow
  103 + shuttle XC_shuttle
  104 + sizing XC_sizing
  105 + spider XC_spider
  106 + spraycan XC_spraycan
  107 + star XC_star
  108 + target XC_target
  109 + tcross XC_tcross
  110 + top_left_arrow XC_top_left_arrow
  111 + top_left_corner XC_top_left_corner
  112 + top_right_corner XC_top_right_corner
  113 + top_side XC_top_side
  114 + top_tee XC_top_tee
  115 + trek XC_trek
  116 + ul_angle XC_ul_angle
  117 + umbrella XC_umbrella
  118 + ur_angle XC_ur_angle
  119 + watch XC_watch
  120 + xterm XC_xterm
  121 +
  122 +This is the current (Qt4) cursor name scheme (qcursor.cpp, qcursor_x11.cpp):
  123 +
  124 + Qt::ArrowCursor left_ptr
  125 + Qt::UpArrowCursor up_arrow
  126 + Qt::CrossCursor cross
  127 + Qt::WaitCursor wait
  128 + Qt::BusyCursor left_ptr_watch
  129 + Qt::IBeamCursor ibeam
  130 + Qt::SizeVerCursor size_ver
  131 + Qt::SizeHorCursor size_hor
  132 + Qt::SizeBDiagCursor size_bdiag
  133 + Qt::SizeFDiagCursor size_fdiag
  134 + Qt::SizeAllCursor size_all
  135 + Qt::SplitVCursor split_v
  136 + Qt::SplitHCursor split_h
  137 + Qt::PointingHandCursor pointing_hand
  138 + Qt::ForbiddenCursor forbidden
  139 + Qt::WhatsThisCursor whats_this
  140 +
  141 +My denominated map of QCursor to XCursor:
  142 +
  143 + Qt::ArrowCursor XC_left_ptr;
  144 + Qt::UpArrowCursor XC_center_ptr;
  145 + Qt::CrossCursor XC_crosshair;
  146 + Qt::WaitCursor XC_watch;
  147 + Qt::IBeamCursor XC_xterm;
  148 + Qt::SizeAllCursor XC_fleur;
  149 + Qt::PointingHandCursor XC_hand2;
  150 + Qt::SizeBDiagCursor XC_top_right_corner;
  151 + Qt::SizeFDiagCursor XC_bottom_right_corner;
  152 + Qt::BlankCursor
  153 + Qt::SizeVerCursor XC_sb_v_double_arrow;
  154 + Qt::SplitVCursor XC_sb_v_double_arrow;
  155 + Qt::SizeHorCursor XC_sb_h_double_arrow;
  156 + Qt::SplitHCursor XC_sb_h_double_arrow;
  157 + Qt::WhatsThisCursor XC_question_arrow;
  158 + Qt::ForbiddenCursor XC_circle;
  159 + Qt::BusyCursor XC_watch;
  160 +
  161 +This is the current Gnome curser names (gdk_enums.def)
  162 +
  163 + # x-cursor GDK_X_CURSOR
  164 + arrow GDK_ARROW
  165 + based-arrow-down GDK_BASED_ARROW_DOWN
  166 + based-arrow-up GDK_BASED_ARROW_UP
  167 + boat GDK_BOAT
  168 + bogosity GDK_BOGOSITY
  169 + bottom-left-corner GDK_BOTTOM_LEFT_CORNER
  170 + bottom-right-corner GDK_BOTTOM_RIGHT_CORNER
  171 + bottom-side GDK_BOTTOM_SIDE
  172 + bottom-tee GDK_BOTTOM_TEE
  173 + box-spiral GDK_BOX_SPIRAL
  174 + center-ptr GDK_CENTER_PTR
  175 + circle GDK_CIRCLE
  176 + clock GDK_CLOCK
  177 + coffee-mug GDK_COFFEE_MUG
  178 + cross GDK_CROSS
  179 + cross-reverse GDK_CROSS_REVERSE
  180 + crosshair GDK_CROSSHAIR
  181 + diamond-cross GDK_DIAMOND_CROSS
  182 + dot GDK_DO
  183 + dotbox GDK_DOTBOX
  184 + double-arrow GDK_DOUBLE_ARROW
  185 + draft-large GDK_DRAFT_LARGE
  186 + draft-small GDK_DRAFT_SMALL
  187 + draped-box GDK_DRAPED_BOX
  188 + exchange GDK_EXCHANGE
  189 + fleur GDK_FLEUR
  190 + gobbler GDK_GOBBLER
  191 + gumby GDK_GUMBY
  192 + hand1 GDK_HAND1
  193 + hand2 GDK_HAND2
  194 + heart GDK_HEART
  195 + icon GDK_ICON
  196 + iron-cross GDK_IRON_CROSS
  197 + left-ptr GDK_LEFT_PTR
  198 + left-side GDK_LEFT_SIDE
  199 + left-tee GDK_LEFT_TEE
  200 + leftbutton GDK_LEFTBUTTON
  201 + ll-angle GDK_LL_ANGLE
  202 + lr-angle GDK_LR_ANGLE
  203 + man GDK_MAN
  204 + middlebutton GDK_MIDDLEBUTTON
  205 + mouse GDK_MOUSE
  206 + pencil GDK_PENCIL
  207 + pirate GDK_PIRATE
  208 + plus GDK_PLUS
  209 + question-arrow GDK_QUESTION_ARROW
  210 + right-ptr GDK_RIGHT_PTR
  211 + right-side GDK_RIGHT_SIDE
  212 + right-tee GDK_RIGHT_TEE
  213 + rightbutton GDK_RIGHTBUTTON
  214 + rtl-logo GDK_RTL_LOGO
  215 + sailboat GDK_SAILBOAT
  216 + sb-down-arrow GDK_SB_DOWN_ARROW
  217 + sb-h-double-arrow GDK_SB_H_DOUBLE_ARROW
  218 + sb-left-arrow GDK_SB_LEFT_ARROW
  219 + sb-right-arrow GDK_SB_RIGHT_ARROW
  220 + sb-up-arrow GDK_SB_UP_ARROW
  221 + sb-v-double-arrow GDK_SB_V_DOUBLE_ARROW
  222 + shuttle GDK_SHUTTLE
  223 + sizing GDK_SIZING
  224 + spider GDK_SPIDER
  225 + spraycan GDK_SPRAYCAN
  226 + star GDK_STAR
  227 + target GDK_TARGET
  228 + tcross GDK_TCROSS
  229 + top-left-arrow GDK_TOP_LEFT_ARROW
  230 + top-left-corner GDK_TOP_LEFT_CORNER
  231 + top-right-corner GDK_TOP_RIGHT_CORNER
  232 + top-side GDK_TOP_SIDE
  233 + top-tee GDK_TOP_TEE
  234 + trek GDK_TREK
  235 + ul-angle GDK_UL_ANGLE
  236 + umbrella GDK_UMBRELLA
  237 + ur-angle GDK_UR_ANGLE
  238 + watch GDK_WATCH
  239 + xterm GDK_XTERM
  240 + last-cursor GDK_LAST_CURSOR
  241 + # cursor-is-pixmap GDK_CURSOR_IS_PIXMAP
  242 +
  243 +CSS3 Cursors (http://www.w3.org/TR/css3-ui/#cursor0)
  244 +
  245 + auto The UA determines the cursor to display based on the current context.
  246 + default The platform-dependent default cursor. Often rendered as an arrow.
  247 + none No cursor is rendered for the element.
  248 + context-menu A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it.
  249 + help Help is available for the object under the cursor. Often rendered as a question mark or a balloon.
  250 + pointer The cursor is a pointer that indicates a link.
  251 + progress A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass.
  252 + wait Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass.
  253 + cell Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle.
  254 + crosshair A simple crosshair (e.g., short line segments resembling a "+" sign). Often used to indicate a two dimensional bitmap selection mode.
  255 + text Indicates text that may be selected. Often rendered as a vertical I-beam. User agents may automatically display a horizontal I-beam/cursor (e.g. same as the 'vertical-text' keyword) for vertical text, or for that matter, any angle of I-beam/cursor for text that is rendered at any particular angle.
  256 + vertical-text Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam.
  257 + alias Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it.
  258 + copy Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it.
  259 + move Indicates something is to be moved.
  260 + no-drop Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it.
  261 + not-allowed Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it.
  262 + e-resize
  263 + n-resize
  264 + ne-resize
  265 + nw-resize
  266 + s-resize
  267 + se-resize
  268 + sw-resize,
  269 + w-resize Indicates that some edge is to be moved. For example, the 'se-resize' cursor is used when the movement starts from the south-east corner of the box.
  270 + ew-resize
  271 + ns-resize
  272 + nesw-resize
  273 + nwse-resize Indicates a bidirectional resize cursor.
  274 + col-resize Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them.
  275 + row-resize Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them.
  276 + all-scroll Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle.
... ...
ComixCursors.spec.in
... ... @@ -5,13 +5,13 @@ Summary: SUMMARY
5 5  
6 6 Group: System/X11/Icons
7 7 License: GPLv3
8   -URL: http://opendesktop.org/content/show.php/ComixCursors?content=32627
  8 +URL: https://gitlab.com/limitland/comixcursors
9 9 Source0: %{name}-%{version}.tar.bz2
10 10 BuildArch: noarch
11 11  
12 12 Requires: XFree86
13 13  
14   -Packager: Jens Luetkens <j.luetkens@hamburg.de>
  14 +Packager: Jens Luetkens <j.luetkens@limitland.de>
15 15 Distribution: generic
16 16  
17 17 prefix: /usr/share
... ...
INSTALL
1   -Comix Cursors installation instructions
2   -#######################################
  1 +# Comix Cursors installation instructions
3 2  
4 3 Basic Installation
5   -==================
  4 +------------------
6 5  
7 6 Requirements:
8 7 - ImageMagick <http://www.imagemagick.org/>
... ... @@ -10,7 +9,7 @@ Requirements:
10 9  
11 10 Download the ComixCursors sources from:
12 11  
13   -<http://opendesktop.org/content/show.php/ComixCursors?content=32627>
  12 +<https://gitlab.com/limitland/comixcursors>
14 13  
15 14 Change into the download directory and unpack the sources::
16 15  
... ... @@ -54,7 +53,7 @@ invoke::
54 53  
55 54  
56 55 Customizing Cursors
57   -===================
  56 +-------------------
58 57  
59 58 Apart from the actual SVG files, a lot of customization can be done
60 59 while composing the images.
... ... @@ -112,7 +111,7 @@ invoke::
112 111  
113 112  
114 113 Complete Installation
115   -=====================
  114 +---------------------
116 115  
117 116 To install all the original ComixCursors issue::
118 117  
... ... @@ -129,7 +128,7 @@ location, invoke::
129 128  
130 129  
131 130 System Installation
132   -===================
  131 +-------------------
133 132  
134 133 For system-wide installation you need to copy the cursor-
135 134 directories to you X11 lib directory. Issue these commands::
... ... @@ -151,8 +150,8 @@ the file /etc/sysconfig/windowmanager to read::
151 150 or whatever your (custom) cursors directory is named.
152 151  
153 152  
154   -You can also download pre-built RPMs from the opendesktop.org site
155   -above and install them with::
  153 +You can also download pre-built RPMs from <http://limitland.de>
  154 +and install them with::
156 155  
157 156 $ sudo rpm -Uv ComixCursors-<version>.noarch.rpm
158 157  
... ...
Makefile
... ... @@ -4,7 +4,7 @@
4 4 # Part of ComixCursors, a desktop cursor theme.
5 5 #
6 6 # Copyright © 2010–2013 Ben Finney <ben+opendesktop@benfinney.id.au>
7   -# Copyright © 2006–2013 Jens Luetkens <j.luetkens@hamburg.de>
  7 +# Copyright © 2006–2013 Jens Luetkens <j.luetkens@limitland.de>
8 8 # Copyright © 2003 Unai G
9 9 #
10 10 # This work is free software: you can redistribute it and/or modify it
... ...
NEWS
1   -Version NEXT
2   -============
  1 +Version 0.9.0
  2 +=============
  3 +
  4 +:Released: 2016-06-10
  5 +:Maintainer: Jens Luetkens <j.luetkens@limitland.de>
  6 +
  7 +* Move the original repository to gitlab.com
  8 +* Increase the shadows transparency.
  9 +
  10 +
  11 +Version 0.8.2
  12 +=============
3 13  
4   -:Released: FUTURE
  14 +:Released: 2013-10-23
5 15 :Maintainer: Jens Luetkens <j.luetkens@limitland.de>
6 16  
7 17 * Correct build of entire cursor set from source.
... ...
README.md 0 → 100644
... ... @@ -0,0 +1,67 @@
  1 +# The original Comix Cursors sources README
  2 +
  3 +The official ComixCursors releases can be found on gitlab.com:
  4 +<https://gitlab.com/limitland/comixcursors>
  5 +
  6 +
  7 +INSTALLATION
  8 +------------
  9 +
  10 +Refer to the ‘INSTALL’ file for requirements and detailed instructions
  11 +to build and install.
  12 +
  13 +COPYRIGHT
  14 +---------
  15 +
  16 +Refer to the ‘COPYING’ file for copyright statement and grant of
  17 +license.
  18 +
  19 +
  20 +KNOWN ISSUES
  21 +------------
  22 +
  23 +* nVIDIA graphics cards:
  24 +
  25 + If you experience the cursor shadow looking strange, e.g. with the i
  26 + christmas theme, or the whole cursor appear gray when it's supposed to be
  27 + white, disable hardware cursor rendering.
  28 +
  29 + In the xorg.conf file in the device section insert the HWCursor line
  30 + below::
  31 +
  32 + Section "Device"
  33 + Driver "nvidia"
  34 + ...
  35 + Option "HWCursor" "off"
  36 + EndSection
  37 +
  38 +* If you are using KDE version prior to 4.0 you might experience that
  39 + KDE's control center Mouse Theme Installation does not support symlinks
  40 + in the packed archives (tar). Consider updating KDE.
  41 +
  42 +* Gnome supports multiple cursor sizes in one cursor theme, but only
  43 + distinct sizes: 16, 24, 32, and 48 pixels.
  44 +
  45 + There is no known Gnome 3 application for setting the size of the mouse
  46 + cursor. You need to set the desired size in pixels as the value of the
  47 + DConf setting ‘org.gnome.desktop.interface.cursor-size’. You can use
  48 + ‘dconf-editor’ (from the ‘dconf-tools’ package) or ‘gsettings’ to change
  49 + DConf settings.
  50 +
  51 +* If you are missing some cursors issue "# export XCURSOR_DISCOVER=1"
  52 + and re-start the application to find the corresponding cursor hash.
  53 + Report it to us or link it yourself in the ~/.icons directory.
  54 +
  55 +
  56 +NAMING CURSORS
  57 +--------------
  58 +
  59 +See the file CURSORNAMES.md for details.
  60 +
  61 +..
  62 + Local variables:
  63 + coding: utf-8
  64 + mode: text
  65 + mode: rst
  66 + End:
  67 + vim: fileencoding=utf-8 filetype=rst :
... ...
bin/build-cursors
... ... @@ -4,7 +4,7 @@
4 4 # Part of ComixCursors, a desktop cursor theme.
5 5 #
6 6 # Copyright © 2010–2013 Ben Finney <ben+opendesktop@benfinney.id.au>
7   -# Copyright © 2006–2013 Jens Luetkens <j.luetkens@hamburg.de>
  7 +# Copyright © 2006–2013 Jens Luetkens <j.luetkens@limitland.de>
8 8 #
9 9 # This work is free software: you can redistribute it and/or modify it
10 10 # under the terms of the GNU General Public License as published by
... ...
bin/link-cursors
... ... @@ -4,7 +4,7 @@
4 4 # Part of ComixCursors, a desktop cursor theme.
5 5 #
6 6 # Copyright © 2010–2013 Ben Finney <ben+opendesktop@benfinney.id.au>
7   -# Copyright © 2006–2013 Jens Luetkens <j.luetkens@hamburg.de>
  7 +# Copyright © 2006–2013 Jens Luetkens <j.luetkens@limitland.de>
8 8 #
9 9 # This work is free software: you can redistribute it and/or modify it
10 10 # under the terms of the GNU General Public License as published by
... ...
bin/make-specfile
... ... @@ -4,7 +4,7 @@
4 4 # Part of ComixCursors, a desktop cursor theme.
5 5 #
6 6 # Copyright © 2010–2013 Ben Finney <ben+opendesktop@benfinney.id.au>
7   -# Copyright © 2010–2013 Jens Luetkens <j.luetkens@hamburg.de>
  7 +# Copyright © 2010–2013 Jens Luetkens <j.luetkens@limitland.de>
8 8 #
9 9 # This work is free software: you can redistribute it and/or modify it
10 10 # under the terms of the GNU General Public License as published by
... ...
bin/render-cursor-image
... ... @@ -4,7 +4,7 @@
4 4 # Part of ComixCursors, a desktop cursor theme.
5 5 #
6 6 # Copyright © 2010–2013 Ben Finney <ben+opendesktop@benfinney.id.au>
7   -# Copyright © 2006–2013 Jens Luetkens <j.luetkens@hamburg.de>
  7 +# Copyright © 2006–2013 Jens Luetkens <j.luetkens@limitland.de>
8 8 #
9 9 # This work is free software: you can redistribute it and/or modify it
10 10 # under the terms of the GNU General Public License as published by
... ...
build-distribution
... ... @@ -4,7 +4,7 @@
4 4 # Part of ComixCursors, a desktop cursor theme.
5 5 #
6 6 # Copyright © 2010–2013 Ben Finney <ben+opendesktop@benfinney.id.au>
7   -# Copyright © 2006–2013 Jens Luetkens <j.luetkens@hamburg.de>
  7 +# Copyright © 2006–2013 Jens Luetkens <j.luetkens@limitland.de>
8 8 #
9 9 # This work is free software: you can redistribute it and/or modify it
10 10 # under the terms of the GNU General Public License as published by
... ... @@ -53,7 +53,7 @@ make clean
53 53 srcname="${themename_root}-sources-${VERSION}"
54 54 srcdir="${workdir}/${srcname}"
55 55 mkdir --parents "${srcdir}"
56   -bzr export "$srcdir"/
  56 +# bzr export "$srcdir"/
57 57  
58 58 mkdir --parents "$distdir"
59 59 rm -rf "$distdir"/*
... ...
cursorlinks
... ... @@ -2,7 +2,7 @@
2 2 # Part of ComixCursors, a desktop cursor theme.
3 3 #
4 4 # Copyright © 2011–2013 Ben Finney <ben+opendesktop@benfinney.id.au>
5   -# Copyright © 2006–2013 Jens Luetkens <j.luetkens@hamburg.de>
  5 +# Copyright © 2006–2013 Jens Luetkens <j.luetkens@limitland.de>
6 6 #
7 7 # This work is free software: you can redistribute it and/or modify it
8 8 # under the terms of the GNU General Public License as published by
... ...
install-all
... ... @@ -4,7 +4,7 @@
4 4 # Part of ComixCursors, a desktop cursor theme.
5 5 #
6 6 # Copyright © 2010–2013 Ben Finney <ben+opendesktop@benfinney.id.au>
7   -# Copyright © 2006–2013 Jens Luetkens <j.luetkens@hamburg.de>
  7 +# Copyright © 2006–2013 Jens Luetkens <j.luetkens@limitland.de>
8 8 #
9 9 # This work is free software: you can redistribute it and/or modify it
10 10 # under the terms of the GNU General Public License as published by
... ...
test/csscursors.html
... ... @@ -6,8 +6,15 @@ ul.cursor-demo {
6 6 width: 50%;
7 7 }
8 8 ul.cursor-demo li {
9   - margin: 0.2em;
10   - border: 2px black solid;
  9 + margin: 5px;
  10 + padding: 10px 15px;
  11 + border: 1px black solid;
  12 + list-style-type: none;
  13 +}
  14 +#position {
  15 + cursor: inherit;
  16 + position: absolute;
  17 + z-index: -1;
11 18 }
12 19 </style>
13 20 </head>
... ... @@ -16,7 +23,8 @@ ul.cursor-demo li {
16 23 <h1>CSS cursors test</h1>
17 24  
18 25 <p>
19   -Hover over the CSS cursor name to see your browser's cursor style:
  26 +Hover over the CSS cursor name to see your browser's cursor style and where the HOTSPOT is.
  27 +</p>
20 28  
21 29 <ul class="cursor-demo">
22 30 <li style="cursor: default">default</li>
... ... @@ -43,6 +51,34 @@ Hover over the CSS cursor name to see your browser&#39;s cursor style:
43 51 <li style="cursor: col-resize">col-resize</li>
44 52 <li style="cursor: row-resize">row-resize</li>
45 53 </ul>
46   -</p>
47 54  
  55 +<img id="position" src="positionmarker.png">
  56 +
  57 +<script type="text/javascript">
  58 +(function() {
  59 + var tracker = document.getElementById('position');
  60 + document.onmousemove = handleMouseMove;
  61 + function handleMouseMove(event) {
  62 + var dot, eventDoc, doc, body, pageX, pageY;
  63 + event = event || window.event; // IE-ism
  64 + // If pageX/Y aren't available and clientX/Y are,
  65 + // calculate pageX/Y - logic taken from jQuery.
  66 + // (This is to support old IE)
  67 + if (event.pageX == null && event.clientX != null) {
  68 + eventDoc = (event.target && event.target.ownerDocument) || document;
  69 + doc = eventDoc.documentElement;
  70 + body = eventDoc.body;
  71 + event.pageX = event.clientX +
  72 + (doc && doc.scrollLeft || body && body.scrollLeft || 0) -
  73 + (doc && doc.clientLeft || body && body.clientLeft || 0);
  74 + event.pageY = event.clientY +
  75 + (doc && doc.scrollTop || body && body.scrollTop || 0) -
  76 + (doc && doc.clientTop || body && body.clientTop || 0 );
  77 + }
  78 + // Use event.pageX / event.pageY here
  79 + tracker.style.top = event.pageY;
  80 + tracker.style.left = event.pageX;
  81 + }
  82 +})();
  83 +</script>
48 84 </body>
... ...
test/positionmarker.png 0 → 100644

253 Bytes