Only copy the double-buffer on expose-events

This commit is contained in:
Axel Wagner
2010-08-22 10:24:32 +02:00
parent 5015cdc4d0
commit 14b885adf1
2 changed files with 26 additions and 1 deletions

View File

@ -48,6 +48,12 @@ void reconfig_windows();
*/
void draw_bars();
/*
* Redraw the bars, i.e. simply copy the buffer to the barwindow
*
*/
void redraw_bars();
/*
* Calculate the rendered width of a string with the configured font.
* The string has to be encoded in ucs2 and glyph_len has to be the length