Bibata_Cursor/src
2019-11-07 09:55:08 +05:30
..
Bibata_Amber [Windows] Changed alt select 2019-06-28 17:03:30 -04:00
Bibata_Ice [Windows] Changed alt select 2019-06-28 17:03:30 -04:00
Bibata_Oil [Windows] Changed alt select 2019-06-28 17:03:30 -04:00
config Fix HiDPI 96x96 left_side 2018-09-21 11:28:03 -07:00
test updated 2019-11-07 09:55:08 +05:30
cursorList Merge pull request #31 from Silicasandwhich/master 2019-06-29 07:57:46 +05:30
in.inst Updated 2018-05-01 12:02:32 +05:30
README.md remove test.svg 2019-11-07 09:54:50 +05:30

Cursor Theme Source

  • Do not edit cursor assets directly (i.e. those in the "Suru" folder)!
  • To modify the cursors, edit source SVG file found in this directory and render them with the appropriate script.
  • To edit the cursors you will need inkscape installed and to build and the render the cursor set you'll need python-pil and x11-apps installed.

Render Scripts

For simplified development, has various scripts to render and build the cursor set are provided

  • render-cursors.py will render the cursor PNG assets into bitmaps at the appropriate sizes; ran by passing the source filename to it: ./render-cursors.py source-cursors.svg
  • x11-make.sh builds the cursor assets into a Xcursor set
  • w32-make.sh builds the cursor assets into a Windows cursor set

Cursor SVG source

The source SVG for the cursors is laid out in such a way to make editing/creating cursors simple, with a variety of layers:

  • hotspots shows the exact point where the cursor is active within the 24x24 region (hidden by default)
  • slices is read by the render script and each 24x24 square had an ID that is the cursor file name (hidden by default)
  • cursors pretty self-explanatory, these are the drawn cursors
  • labels are just labels

Both the busy cursors (the large and pointer versions) require 60 different assets to achieve a 60 FPS animation when compiled (each variant is a 6° rotation of the busy indicator).