Ver código fonte

Fix edge of dot cursor in Java vncviewer

This commit changes the color of the edges of the dot cursor in the Java
version of vncviewer from fully transparent to white, bringing it in
line with the C++ native version.
tags/v1.12.90
Krystof Pistek 1 ano atrás
pai
commit
2f40e3036a
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 5 adições e 5 exclusões
  1. 5
    5
      java/com/tigervnc/vncviewer/Viewport.java

+ 5
- 5
java/com/tigervnc/vncviewer/Viewport.java Ver arquivo

@@ -149,11 +149,11 @@ class Viewport extends JPanel implements ActionListener {
}

static final int[] dotcursor_xpm = {
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0xff000000, 0xff000000, 0xff000000, 0x00000000,
0x00000000, 0xff000000, 0xff000000, 0xff000000, 0x00000000,
0x00000000, 0xff000000, 0xff000000, 0xff000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
0xffffffff, 0xff000000, 0xff000000, 0xff000000, 0xffffffff,
0xffffffff, 0xff000000, 0xff000000, 0xff000000, 0xffffffff,
0xffffffff, 0xff000000, 0xff000000, 0xff000000, 0xffffffff,
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
};

public void setCursor(int width, int height, Point hotspot,

Carregando…
Cancelar
Salvar