Skip to content

Commit

Permalink
add: cursors and some code
Browse files Browse the repository at this point in the history
  • Loading branch information
chelovechishko committed Sep 23, 2023
1 parent a605a73 commit d0947f4
Show file tree
Hide file tree
Showing 112 changed files with 5,982 additions and 2 deletions.
57 changes: 55 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,55 @@
# WarCraft_III_cursors
WarCraft III cursors (Undead theme)
# WarCraft III cursors (Undead main) theme

## 1 Description
This is WarCraft themed cursors.

Misc additions/deletions/modifications included.
Like hot spot fixes, animation duration changes, renaming, relinking, recoloring (fel_orc_hand), rotation of existing image and so creating new cursor, shrinkages.

### 1.1 Code description
A small program for getting bitmaps and hashes of core X11 cursors and additional mozilla's bitmaps.

## 2 Installation
Inside `~/.local/share/cursors/default/index.theme` (create if necessary) write:
```
[Icon Theme]
Inherits = WarCraftIII
```
Unpack cursors into `~/.local/share/cursors/`. So structure should be like: `~/.local/share/cursors/WarCraftIII/cursors/left_ptr`

Note, that `XCURSOR_PATH` should include something like: `${XDG_DATA_HOME}/cursors` in environment settings of yours. E. g. `XCURSOR_PATH=${HOME}/.local/share/cursors`... in output of `printenv`.

That should be enough.

## 3 Compilation of code
Compile it via `gcc -o cursors_dump -lX11 -lXcursor main.c`

- Add `-DDUMP_MOZ_CURSORS` for dumping moz cursors bitmaps from `nsGtkCursors.h` file.

- Add `-DDUMP_X11_CURSORS` for dumping X11 core cursors bitmaps from `cursor.bdf` file.

## 4 History
* 2002, July 5 — **WarCraft III** released

* 2003, July 16 — **mizrahav** [uploaded](http://www.wincustomize.com/explore/cursorfx/575/) `Warcraft 3 Undead` cursors

* 20xx — [GrynayS](https://www.deviantart.com/grynays/about#about) (aka [KuduK](https://web.archive.org/web/20210308160620/https://www.pling.com/u/kuduk/)) converted the theme into X11 Mouse theme and refined it with GIMP.

* 2020, June 5 — [sorely](https://www.opencode.net/sorely/warcraft-3-cursors) further changed and updated the theme.

## 5 Some other links
https://freedesktop.org/wiki/Specifications/cursor-spec/

https://htmlpreview.github.io/?https://github.com/mdomlop/retrosmart-x11-cursors/blob/master/cursortest.html

https://www.w3schools.com/csSref/pr_class_cursor.asp

https://echoecho.com/csscursors.htm

https://github.com/trunkmaster/nextspace/wiki/Mouse-Cursors

https://www.x.org/releases/X11R7.7/doc/man/man3/Xcursor.3.xhtml

___

P. S. i don't own [World of] WarCraft [III] icons, nor other authors work, all rights belong to owners.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/00008160000006810000408080010102
1 change: 1 addition & 0 deletions WarCraftIII/cursors/028006030e0e7ebffc7f7070c0600140
1 change: 1 addition & 0 deletions WarCraftIII/cursors/14fef782d02440884392942c11205230
1 change: 1 addition & 0 deletions WarCraftIII/cursors/2870a09082c103050810ffdffffe0204
1 change: 1 addition & 0 deletions WarCraftIII/cursors/3ecb610c1bf2410f44200f48c40d3599
1 change: 1 addition & 0 deletions WarCraftIII/cursors/4498f0e0c1937ffe01fd06f973665830
1 change: 1 addition & 0 deletions WarCraftIII/cursors/9d800788f1b08800ae810202380a0822
Binary file added WarCraftIII/cursors/AppStarting_Down
Binary file not shown.
Binary file added WarCraftIII/cursors/Arrow_Down
Binary file not shown.
Binary file added WarCraftIII/cursors/Hand_Down
Binary file not shown.
Binary file added WarCraftIII/cursors/Help_Down
Binary file not shown.
Binary file added WarCraftIII/cursors/Wait_Down
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/X_cursor
Binary file added WarCraftIII/cursors/alias
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/arrow
1 change: 1 addition & 0 deletions WarCraftIII/cursors/bd_double_arrow
Binary file added WarCraftIII/cursors/bottom_left_corner
Binary file not shown.
Binary file added WarCraftIII/cursors/bottom_right_corner
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/bottom_side
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/cell
Binary file added WarCraftIII/cursors/center_ptr
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/closedhand
1 change: 1 addition & 0 deletions WarCraftIII/cursors/col-resize
Binary file added WarCraftIII/cursors/context-menu
Binary file not shown.
Binary file added WarCraftIII/cursors/context-menu-disabled
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/copy
1 change: 1 addition & 0 deletions WarCraftIII/cursors/cross
Binary file added WarCraftIII/cursors/crossed_circle
Binary file not shown.
Binary file added WarCraftIII/cursors/crosshair
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/d9ce0ab605698f320427677b458ad60b
1 change: 1 addition & 0 deletions WarCraftIII/cursors/default
1 change: 1 addition & 0 deletions WarCraftIII/cursors/dnd-copy
1 change: 1 addition & 0 deletions WarCraftIII/cursors/dnd-link
1 change: 1 addition & 0 deletions WarCraftIII/cursors/dnd-move
1 change: 1 addition & 0 deletions WarCraftIII/cursors/dnd-none
1 change: 1 addition & 0 deletions WarCraftIII/cursors/double_arrow
1 change: 1 addition & 0 deletions WarCraftIII/cursors/e-resize
1 change: 1 addition & 0 deletions WarCraftIII/cursors/e29285e634086352946a0e7090d73106
1 change: 1 addition & 0 deletions WarCraftIII/cursors/ew-resize
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/fd_double_arrow
Binary file added WarCraftIII/cursors/fel_orc_hand
Binary file not shown.
Binary file added WarCraftIII/cursors/fleur
Binary file not shown.
Binary file added WarCraftIII/cursors/forbidden
Binary file not shown.
Binary file added WarCraftIII/cursors/grabbing
Binary file not shown.
Binary file added WarCraftIII/cursors/green_orc_hand
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/h_double_arrow
1 change: 1 addition & 0 deletions WarCraftIII/cursors/hand
1 change: 1 addition & 0 deletions WarCraftIII/cursors/hand1
1 change: 1 addition & 0 deletions WarCraftIII/cursors/hand2
1 change: 1 addition & 0 deletions WarCraftIII/cursors/help
1 change: 1 addition & 0 deletions WarCraftIII/cursors/ibeam
Binary file added WarCraftIII/cursors/left_ptr
Binary file not shown.
Binary file added WarCraftIII/cursors/left_ptr_watch
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/left_side
1 change: 1 addition & 0 deletions WarCraftIII/cursors/link
Binary file added WarCraftIII/cursors/ll_angle
Binary file not shown.
Binary file added WarCraftIII/cursors/lr_angle
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/move
1 change: 1 addition & 0 deletions WarCraftIII/cursors/n-resize
Binary file added WarCraftIII/cursors/nesw-resize
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/no-drop
1 change: 1 addition & 0 deletions WarCraftIII/cursors/not-allowed
1 change: 1 addition & 0 deletions WarCraftIII/cursors/ns-resize
Binary file added WarCraftIII/cursors/nwse-resize
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/openhand
Binary file added WarCraftIII/cursors/pirate
Binary file not shown.
Binary file added WarCraftIII/cursors/plus
Binary file not shown.
Binary file added WarCraftIII/cursors/pointer
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/pointing_hand
1 change: 1 addition & 0 deletions WarCraftIII/cursors/progress
1 change: 1 addition & 0 deletions WarCraftIII/cursors/question_arrow
Binary file added WarCraftIII/cursors/right_ptr
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/right_side
1 change: 1 addition & 0 deletions WarCraftIII/cursors/row-resize
1 change: 1 addition & 0 deletions WarCraftIII/cursors/s-resize
Binary file added WarCraftIII/cursors/sb_down_arrow
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/sb_h_double_arrow
Binary file added WarCraftIII/cursors/sb_left_arrow
Binary file not shown.
Binary file added WarCraftIII/cursors/sb_right_arrow
Binary file not shown.
Binary file added WarCraftIII/cursors/sb_up_arrow
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/sb_v_double_arrow
1 change: 1 addition & 0 deletions WarCraftIII/cursors/size_all
1 change: 1 addition & 0 deletions WarCraftIII/cursors/size_bdiag
1 change: 1 addition & 0 deletions WarCraftIII/cursors/size_fdiag
1 change: 1 addition & 0 deletions WarCraftIII/cursors/size_hor
1 change: 1 addition & 0 deletions WarCraftIII/cursors/size_ver
Binary file added WarCraftIII/cursors/split_h
Binary file not shown.
Binary file added WarCraftIII/cursors/split_v
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/text
Binary file added WarCraftIII/cursors/top_left_corner
Binary file not shown.
Binary file added WarCraftIII/cursors/top_right_corner
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/top_side
Binary file added WarCraftIII/cursors/ul_angle
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/up_arrow
Binary file added WarCraftIII/cursors/ur_angle
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/v_double_arrow
1 change: 1 addition & 0 deletions WarCraftIII/cursors/w-resize
1 change: 1 addition & 0 deletions WarCraftIII/cursors/wait
Binary file added WarCraftIII/cursors/warlock_stuffhead
Binary file not shown.
1 change: 1 addition & 0 deletions WarCraftIII/cursors/watch
1 change: 1 addition & 0 deletions WarCraftIII/cursors/xterm
Binary file added WarCraftIII/cursors/zoom-in
Binary file not shown.
Binary file added WarCraftIII/cursors/zoom-out
Binary file not shown.
5 changes: 5 additions & 0 deletions WarCraftIII/index.theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Icon Theme]
Name = WarCraftIII
Comment = Developed by many authors
Example = left_ptr
Inherits = core
Loading

0 comments on commit d0947f4

Please sign in to comment.