01: ///////////////////////////////////////////////////////////////////////////////
02: //
03: // This program is free software; you can redistribute it and/or modify
04: // it under the terms of the GNU General Public License and GNU Library
05: // General Public License as published by the Free Software Foundation;
06: // either version 2, or (at your option) any later version.
07: //
08: // This program is distributed in the hope that it will be useful,
09: // but WITHOUT ANY WARRANTY; without even the implied warranty of
10: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11: // GNU General Public License and GNU Library General Public License
12: // for more details.
13: //
14: // You should have received a copy of the GNU General Public License
15: // and GNU Library General Public License along with this program; if
16: // not, write to the Free Software Foundation, 675 Mass Ave, Cambridge,
17: // MA 02139, USA.
18: //
19: ///////////////////////////////////////////////////////////////////////////////
20:
21: package org.rdesktop.server.rdp.orders;
22:
23: public class TriBltOrder extends PatBltOrder {
24: private int m_color_table = 0;
25: private int m_cache_id = 0;
26: private int m_cache_idx = 0;
27: private int m_srcx = 0;
28: private int m_srcy = 0;
29: private int m_unknown = 0;
30:
31: public TriBltOrder() {
32: super ();
33: }
34:
35: public void setColorTable(int color_table) {
36: m_color_table = color_table;
37: }
38:
39: public int getColorTable() {
40: return m_color_table;
41: }
42:
43: public void setCacheID(int cache_id) {
44: m_cache_id = cache_id;
45: }
46:
47: public int getCacheID() {
48: return m_cache_id;
49: }
50:
51: public void setCacheIDX(int cache_idx) {
52: m_cache_idx = cache_idx;
53: }
54:
55: public int getCacheIDX() {
56: return m_cache_idx;
57: }
58:
59: public void setSrcX(int srcx) {
60: m_srcx = srcx;
61: }
62:
63: public int getSrcX() {
64: return m_srcx;
65: }
66:
67: public void setSrcY(int srcy) {
68: m_srcy = srcy;
69: }
70:
71: public int getSrcY() {
72: return m_srcy;
73: }
74:
75: public void setUnknown(int unknown) {
76: m_unknown = unknown;
77: }
78:
79: public int getUnknown() {
80: return m_unknown;
81: }
82:
83: public void reset() {
84: super .reset();
85: m_color_table = 0;
86: m_cache_id = 0;
87: m_cache_idx = 0;
88: m_srcx = 0;
89: m_srcy = 0;
90: m_unknown = 0;
91: }
92: }
|