Skip to content

andwu137/preztool

Repository files navigation

PrezTool:

Made this tool so that I could draw and zoom on my screen, during live meetings. Inspired by zoomit (Microsoft Sysinternals).

Supported Platforms:

  • linux
    • X11 (tested on fedora)
    • wayland
  • Windows 10 and 11 (framework for it is there, I just have not defined a few required functions; I don't have access to a windows machine)

Features:

  • Zooming
    • Zoom in/out: mouse-scroll
    • Reset zoom: z
  • Translating
    • Drag moving the image: mouse-2
  • Drawing on the screen
    • Drawing: mouse-1
    • Clear drawing: c
    • Change brush color: arrow-left | arrow-right
    • Undo drawing: u
    • Toggle eraser: e
    • Display brush preview: p
  • Mirror Image
    • Mirror Horizontal: x
    • Mirror Vertical: v
  • Highlight
    • Toggle h
    • Change Size: h + mouse-scroll
  • Flashlight
    • Toggle: f
    • Change Size: f + mouse-scroll
  • Rotation
    • Rotate Clockwise: r
    • Rotate Counter-Clockwise: shift + r
  • Screen Selection
    • Initialization:
      • Display
      • Window
      • Cropped
    • Crop the screen
  • Recapture Screen
    • Take a screenshot of desktop and reload the app background: t
  • Print Screen To:
    • File
    • Clipboard

Dynamic Build:

Prerequisites:

  • gcc
  • make
  • raylib development library

raylib

  • fedora: dnf install raylib-devel

Commands:

git clone https://gitlab.com/Uangn/preztool.git
cd preztool
make

Static Build:

Prerequisites:

  • gcc
  • make

Commands:

git clone --recurse-submodules https://gitlab.com/Uangn/preztool.git
cd preztool
make static

# If you forgot to `--recurse-submodules` when cloning initially
cd preztool
git submodule update --init --recursive

Run:

If in that directory:

./preztool

If outside that directory:

You could make a script that moves over to that directory

Linux (sh)

Make a file with the contents below. Place it in the system path. Make it executable (optional).

#!/bin/sh
cd DIRECTORY_OF_PREZTOOL
./preztool

If executable:

./preztool_run.sh

If not executable:

sh preztool_run.sh

Releases

No releases published

Packages

 
 
 

Contributors