Rev 7271 | Rev 7506 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7271 | Rev 7275 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | dword screen_copy; |
1 | dword screen_copy; |
Line 2... | Line 2... | ||
2 | 2 | ||
3 | void ScreenCopy_activate() { |
3 | void ScreenCopy_activate() { |
4 | SetEventMask(EVM_REDRAW+EVM_KEY+EVM_BUTTON+EVM_MOUSE); |
4 | SetEventMask(EVM_REDRAW+EVM_KEY+EVM_BUTTON+EVM_MOUSE); |
5 | screen_copy = malloc(image.columns * image.rows * 3 ); |
5 | screen_copy = malloc(image.columns * image.rows * 3 +4); |
Line 6... | Line 6... | ||
6 | } |
6 | } |
7 | 7 | ||
8 | void ScreenCopy_onMouseEvent(int mouseX, int mouseY, int lkm, int pkm) { |
8 | void ScreenCopy_onMouseEvent(int mouseX, int mouseY, int lkm, int pkm) { |