mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-13 22:54:45 -04:00
🔧 #37 Set Pointer Cursor's hotspot to top left edge
builder/Makefile: - Adds python3 'virtualenv' compatibility in 'setup' make target. builder/applbuild/constants.py: - Hotspots changes for All Pointer cursor in macOSBigSur.
This commit is contained in:
parent
a6d52392d8
commit
1be59b4732
2 changed files with 8 additions and 8 deletions
|
@ -21,7 +21,7 @@ clean:
|
||||||
@fi
|
@fi
|
||||||
|
|
||||||
setup: setup.py
|
setup: setup.py
|
||||||
@test -d venv || virtualenv venv
|
@test -d venv || python3 -m venv venv
|
||||||
@. venv/bin/activate; python3 setup.py install --record files.txt
|
@. venv/bin/activate; python3 setup.py install --record files.txt
|
||||||
|
|
||||||
build: setup build.py
|
build: setup build.py
|
||||||
|
@ -31,4 +31,4 @@ build_unix: setup build.py
|
||||||
@. venv/bin/activate; python3 build.py unix --xsizes $(X_SIZES)
|
@. venv/bin/activate; python3 build.py unix --xsizes $(X_SIZES)
|
||||||
|
|
||||||
build_windows: setup build.py
|
build_windows: setup build.py
|
||||||
@. venv/bin/activate; python3 build.py windows --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)
|
@. venv/bin/activate; python3 build.py windows --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)
|
||||||
|
|
|
@ -25,16 +25,16 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = {
|
||||||
"bottom_right_corner.png": {"xhot": 100, "yhot": 100},
|
"bottom_right_corner.png": {"xhot": 100, "yhot": 100},
|
||||||
"bottom_tee.png": {"xhot": 98, "yhot": 137},
|
"bottom_tee.png": {"xhot": 98, "yhot": 137},
|
||||||
"center_ptr.png": {"xhot": 100, "yhot": 70},
|
"center_ptr.png": {"xhot": 100, "yhot": 70},
|
||||||
"context-menu.png": {"xhot": 43, "yhot": 61},
|
"context-menu.png": {"xhot": 29, "yhot": 28},
|
||||||
"copy.png": {"xhot": 67, "yhot": 46},
|
"copy.png": {"xhot": 54, "yhot": 13},
|
||||||
"cross.png": {"xhot": 100, "yhot": 100},
|
"cross.png": {"xhot": 100, "yhot": 100},
|
||||||
"crossed_circle.png": {"xhot": 67, "yhot": 46},
|
"crossed_circle.png": {"xhot": 54, "yhot": 13},
|
||||||
"crosshair.png": {"xhot": 100, "yhot": 100},
|
"crosshair.png": {"xhot": 100, "yhot": 100},
|
||||||
"dnd_no_drop.png": {"xhot": 100, "yhot": 100},
|
"dnd_no_drop.png": {"xhot": 100, "yhot": 100},
|
||||||
"dotbox.png": {"xhot": 100, "yhot": 100},
|
"dotbox.png": {"xhot": 100, "yhot": 100},
|
||||||
"hand1.png": {"xhot": 94, "yhot": 72},
|
"hand1.png": {"xhot": 94, "yhot": 72},
|
||||||
"hand2.png": {"xhot": 67, "yhot": 46},
|
"hand2.png": {"xhot": 67, "yhot": 46},
|
||||||
"left_ptr.png": {"xhot": 69, "yhot": 56},
|
"left_ptr.png": {"xhot": 53, "yhot": 13},
|
||||||
"left_side.png": {"xhot": 100, "yhot": 100},
|
"left_side.png": {"xhot": 100, "yhot": 100},
|
||||||
"left_tee.png": {"xhot": 100, "yhot": 100},
|
"left_tee.png": {"xhot": 100, "yhot": 100},
|
||||||
"link.png": {"xhot": 120, "yhot": 55},
|
"link.png": {"xhot": 120, "yhot": 55},
|
||||||
|
@ -44,7 +44,7 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = {
|
||||||
"pencil.png": {"xhot": 81, "yhot": 117},
|
"pencil.png": {"xhot": 81, "yhot": 117},
|
||||||
"plus.png": {"xhot": 98, "yhot": 100},
|
"plus.png": {"xhot": 98, "yhot": 100},
|
||||||
"question_arrow.png": {"xhot": 99, "yhot": 99},
|
"question_arrow.png": {"xhot": 99, "yhot": 99},
|
||||||
"right_ptr.png": {"xhot": 136, "yhot": 66},
|
"right_ptr.png": {"xhot": 154, "yhot": 24},
|
||||||
"right_tee.png": {"xhot": 98, "yhot": 99},
|
"right_tee.png": {"xhot": 98, "yhot": 99},
|
||||||
"sb_down_arrow.png": {"xhot": 100, "yhot": 100},
|
"sb_down_arrow.png": {"xhot": 100, "yhot": 100},
|
||||||
"sb_h_double_arrow.png": {"xhot": 100, "yhot": 100},
|
"sb_h_double_arrow.png": {"xhot": 100, "yhot": 100},
|
||||||
|
@ -66,7 +66,7 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = {
|
||||||
# Animated #
|
# Animated #
|
||||||
############
|
############
|
||||||
# Note: Animated cursors don't need an extension and frame numbers.
|
# Note: Animated cursors don't need an extension and frame numbers.
|
||||||
"left_ptr_watch": {"xhot": 67, "yhot": 46},
|
"left_ptr_watch": {"xhot": 54, "yhot": 13},
|
||||||
"wait": {"xhot": 100, "yhot": 100},
|
"wait": {"xhot": 100, "yhot": 100},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue