Skip to content

dvemon/python-overlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

python-overlay

transparent overlay with render functions made using pygame and pypiwin32

features

  • render functions (draw_text, draw_rect, draw_line)
  • track over target window e.g. 'Untitled - Notepad'

prerequisites

you will need to install these modules:

pip install pygame
pip install pypiwin32

example usage

from overlay import Overlay

overlay = Overlay(window_name='Untitled - Notepad') 

while True:
    overlay.update_pos()

    overlay.draw_rect((255, 0, 0), 200, 200, 155, 35, 5)
    overlay.draw_text('Hello world!', (179, 66, 245), 225, 205, 40)

    overlay.update() 

About

Transparent overlay with render functions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages