Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurumaker72 authored Jun 24, 2023
1 parent 57e6165 commit 252554b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ Check out the [demos](https://github.com/Aurumaker72/mupen-lua-ugui/blob/main/de
</p>

`mupen-lua-ugui` uses `BreitbandGraphics` for rendering.
It's recommended to use `BreitbandGraphics` when drawing graphics instead of directly calling the Mupen Lua APIs, due to Intellisense and helpful utilities.

# 🔩 Porting
## 🧩 Porting

### To mupen-lua-ugui

Expand All @@ -82,3 +81,13 @@ Porting a script to `mupen-lua-ugui` is not trivial and requires manual work. Co
Porting a script which utilizes the old Lua GDI API to `BreitbandGraphics` is trivial.

By including the `mupen-lua-ugui` library, `BreitbandGraphics` will automatically reverse-polyfill all legacy APIs with no changes to your code.

## 📈 Advantages

- Maximized usability
- Polyfilled GDI and GDI+ APIs
- Non-changing API surface
- Helpful utilities
- Hexadecimal color conversion
- Standard color tables
- Low overhead

0 comments on commit 252554b

Please sign in to comment.