mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-09-23 02:19:52 +00:00
added a vnc server and the required client messages parsers.
now I should get to tying up the proxying connections and checking what should be written to the file. (server init?)
This commit is contained in:
@@ -20,15 +20,15 @@ func (r *Rectangle) String() string {
|
||||
// PixelFormat describes the way a pixel is formatted for a VNC connection.
|
||||
//
|
||||
// See RFC 6143 Section 7.4 for information on each of the fields.
|
||||
type PixelFormat struct {
|
||||
BPP uint8
|
||||
Depth uint8
|
||||
BigEndian bool
|
||||
TrueColor bool
|
||||
RedMax uint16
|
||||
GreenMax uint16
|
||||
BlueMax uint16
|
||||
RedShift uint8
|
||||
GreenShift uint8
|
||||
BlueShift uint8
|
||||
}
|
||||
// type PixelFormat struct {
|
||||
// BPP uint8
|
||||
// Depth uint8
|
||||
// BigEndian bool
|
||||
// TrueColor bool
|
||||
// RedMax uint16
|
||||
// GreenMax uint16
|
||||
// BlueMax uint16
|
||||
// RedShift uint8
|
||||
// GreenShift uint8
|
||||
// BlueShift uint8
|
||||
// }
|
||||
|
Reference in New Issue
Block a user