Skip to content

External Python overlay that attaches onto a given Windows application and draws on top of it.

License

Notifications You must be signed in to change notification settings

Brandon82/external-overlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

external-overlay

An external Python overlay that attaches/hooks onto a given Windows application and draws on top of it.

  • Uses the DearPyGui (DPG) GUI framework for drawing (DX11)
  • Uses the PyWin32 library (Windows API) for attaching to the target application

Example

Installation

Install the following dependencies:

  • Python 3.8+
  • pip install -r requirements.txt

Usage

from external_overlay import ExternalOverlay

def ui(tar_hwnd=None):
    with dpg.window():
        dpg.add_text("Hello World")

overlay = ExternalOverlay("Untitled - Notepad", ui)
overlay.start()
  • Create a new ExternalOverlay object with the window name and a UI function as parameters
  • The UI function should contain the DPG components to overlay
  • Call start() to start the overlay render loop

About

External Python overlay that attaches onto a given Windows application and draws on top of it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages