Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.59 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.59 KB

gm_ultralight .NET Core

Ultralight gmod integration uses Gmod.Net (why? for easier development :D)

WIP

  • Crashes on 2nd load - FIX in ultralight 1.3 (IPC)
  • use ISurface - help,help,help,help,help,help,help,help,help,help,help,help,help,help,help,help,help - GmodDotNet 2.0

Api

Ultralight

Render()

renders all views (required to drawing them)

Update()

updates network, scripts etc, run much as you can!

CreateView(width, height, transparent)

uint width uint height bool transparent

Examples

test.lua

test.lua

Covered API

  • - done
  • @ - internal use
  • x - almost done
  • - not done
  • view.EvaluateScript

  • x SetFinishLoadingCallback

  • view.LoadUrl

  • view.LoadHtml

  • view.FireMouseEvent

  • view.FireKeyEvent

  • view.FireScrollEvent

  • @ surface.GetDirtyBounds

  • @ bitmap.LockPixels in GetPixel

Contributors

SupinePandora43

GlebChili

NULL@mijyuoon#6666 - vgui::ISurface->DrawSetTextureRGBA

Eclipse@Eclipse#2437 - Sys_LoadInterface("vguimatsurface", "VGUI_Surface030", NULL, (void**)&surface)

Uros Spasojevic - uint8_t