Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to set the window opacity from Lua #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

basinbaby
Copy link

Exposes the SDL_SetWindowOpacity function to Lua as system.set_window_opacity,
So you can customise the transparency of the window, nice for if you want to see your desktop background or other windows while editting.

image

@basinbaby basinbaby changed the title Make it possible to set the window opacity from Lua Make it possible to set the window opacity from Lua label:enhancement Feb 7, 2020
@basinbaby basinbaby changed the title Make it possible to set the window opacity from Lua label:enhancement label:enhancement Make it possible to set the window opacity from Lua Feb 7, 2020
@basinbaby basinbaby changed the title label:enhancement Make it possible to set the window opacity from Lua Make it possible to set the window opacity from Lua Feb 7, 2020
@StarrKiss
Copy link

Love this, very handy.

@quadroli
Copy link

Question though, how do you use?
which file do you edit?

franko added a commit to lite-xl/lite-xl that referenced this pull request Mar 23, 2021
Implement the suggestion and close #125.

Initial suggestion and implementation from

rxi/lite#17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants