Screencast desktop - #43
Open
tombh wants to merge 3 commits into
Open
Conversation
line, including the last line. This meant that there would always be height+1 lines affected. If an image's height was calculated to be the full height of the terminal then this last height+1 newline would shift the entire image 1 row up. This wasn't so noticeable for static images, but caused annoying flickering during the rapid updates of multiple images in movies, etc.
Compile against newer versions of ffmpeg, namely v3.0.1 Fixes jart#36
Includes potentially reusable code to handle keyboard input.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I don't know if you want this is hiptext? Obviously it's mostly useful for my texttop app. But it's kind of cool anyway I reckon.
It uses X11's API
XGetSubImageto render the current desktop. Hiptext currently works on Windows right? So it would need a compiler option to disable it on the windows binary.Also, I'm not 100% sure I've done the colour conversion in
Graphic Next()correctly, colours look accurate when rendered, so I assume it's correct. Well in fact this is the first C++ I've written and I don't think I've done the OOP stuff quite right.