Skip to content
Snippets Groups Projects
Commit 572b633c authored by deuce's avatar deuce
Browse files

Optimize the X stuff a LOT...

1) Only redraw the individual chars that changed, not any line with a char
that changed
2) When and Expose event or GraphicsExpose event happens, only redraw the
affected rectangle (Previously, it redrew the entire screen for every
exposure)

Make the window slightly resizable... integer scaling only (ie: 1x or 2x)
Currently, will only go up to 2x... if anyone can dig up an open-source
function to do integer-only scaleing of XBitMap (XBM) files or images, I'll
be able to increase this easily enough... but 1280x800 should be enough for
anyone... *snicker*
parent cf6d5635
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment