This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * This function assumes the existence of an active Dear ImGui window | |
| */ | |
| void RenderDropShadow(ImTextureID tex_id, float size, ImU8 opacity) | |
| { | |
| ImVec2 p = ImGui::GetWindowPos(); | |
| ImVec2 s = ImGui::GetWindowSize(); | |
| ImVec2 m = {p.x + s.x, p.y + s.y}; | |
| float uv0 = 0.0f; // left/top region | |
| float uv1 = 0.333333f; // leftward/upper region |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # author: eterna1_0blivion & soredake | |
| # Get a link to the Registration Entries file | |
| $link = "https://gist.github.com/eterna1-0blivion/70c1e5b14c7cfa8c6b6d574eb38fd27e/raw/context_pwsh_fix.reg" | |
| # Install them into Registry using PowerShell | |
| Invoke-WebRequest -Uri "$link" -OutFile "$env:TEMP/context_pwsh_fix.reg" | |
| reg import "$env:TEMP/context_pwsh_fix.reg" | |
| # Notify the user before exiting the program |
OlderNewer