| Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qplatformcursor.cpp | 
| Switch to Source code | Preprocessed file | 
| Line | Source | Count | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||||||||||||||||||||||||||
| 2 | - | |||||||||||||||||||||||||||||||
| 3 | - | |||||||||||||||||||||||||||||||
| 4 | - | |||||||||||||||||||||||||||||||
| 5 | - | |||||||||||||||||||||||||||||||
| 6 | QList<QPlatformCursor *> QPlatformCursorPrivate::getInstances() | - | ||||||||||||||||||||||||||||||
| 7 | { | - | ||||||||||||||||||||||||||||||
| 8 | QList<QPlatformCursor *> result; | - | ||||||||||||||||||||||||||||||
| 9 | for (QForeachContainer<typename QtPrivate::remove_reference<decltype(QGuiApplicationPrivate::screen_list)>::type> _container_((QGuiApplicationPrivate::screen_list)); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (const QScreen *screen = *_container_.i; _container_.control; _container_.control = 0) | - | ||||||||||||||||||||||||||||||
| 10 | if (QPlatformCursor *cursor = screen->handle()->cursor() 
 | 0 | ||||||||||||||||||||||||||||||
| 11 | result.push_back(cursor); never executed:  result.push_back(cursor); | 0 | ||||||||||||||||||||||||||||||
| 12 | return never executed: result; return result;never executed:  return result; | 0 | ||||||||||||||||||||||||||||||
| 13 | } | - | ||||||||||||||||||||||||||||||
| 14 | QPlatformCursor::QPlatformCursor() | - | ||||||||||||||||||||||||||||||
| 15 | { | - | ||||||||||||||||||||||||||||||
| 16 | } | - | ||||||||||||||||||||||||||||||
| 17 | - | |||||||||||||||||||||||||||||||
| 18 | QPoint QPlatformCursor::pos() const | - | ||||||||||||||||||||||||||||||
| 19 | { | - | ||||||||||||||||||||||||||||||
| 20 | - | |||||||||||||||||||||||||||||||
| 21 | return never executed: QGuiApplicationPrivate::lastCursorPosition.toPoint(); return QGuiApplicationPrivate::lastCursorPosition.toPoint();never executed:  return QGuiApplicationPrivate::lastCursorPosition.toPoint(); | 0 | ||||||||||||||||||||||||||||||
| 22 | } | - | ||||||||||||||||||||||||||||||
| 23 | - | |||||||||||||||||||||||||||||||
| 24 | void QPlatformCursor::setPos(const QPoint &pos) | - | ||||||||||||||||||||||||||||||
| 25 | { | - | ||||||||||||||||||||||||||||||
| 26 | static bool firstCall = true; | - | ||||||||||||||||||||||||||||||
| 27 | if (firstCall 
 | 0 | ||||||||||||||||||||||||||||||
| 28 | firstCall = false; | - | ||||||||||||||||||||||||||||||
| 29 | QMessageLogger(__FILE__, 120, __PRETTY_FUNCTION__).warning("This plugin does not support QCursor::setPos()" | - | ||||||||||||||||||||||||||||||
| 30 | "; emulating movement within the application."); | - | ||||||||||||||||||||||||||||||
| 31 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 32 | QWindowSystemInterface::handleMouseEvent(0, pos, pos, Qt::NoButton); | - | ||||||||||||||||||||||||||||||
| 33 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 34 | static QPlatformCursorImage *systemCursorTable[Qt::LastCursor+1]; | - | ||||||||||||||||||||||||||||||
| 35 | static bool systemCursorTableInit = false; | - | ||||||||||||||||||||||||||||||
| 36 | - | |||||||||||||||||||||||||||||||
| 37 | - | |||||||||||||||||||||||||||||||
| 38 | static const uchar cur_arrow_bits[] = { | - | ||||||||||||||||||||||||||||||
| 39 | 0x07, 0x00, 0x39, 0x00, 0xc1, 0x01, 0x02, 0x0e, 0x02, 0x10, 0x02, 0x08, | - | ||||||||||||||||||||||||||||||
| 40 | 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 0x88, 0x08, 0x48, 0x11, 0x28, 0x22, | - | ||||||||||||||||||||||||||||||
| 41 | 0x10, 0x44, 0x00, 0x28, 0x00, 0x10, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 42 | static const uchar mcur_arrow_bits[] = { | - | ||||||||||||||||||||||||||||||
| 43 | 0x07, 0x00, 0x3f, 0x00, 0xff, 0x01, 0xfe, 0x0f, 0xfe, 0x1f, 0xfe, 0x0f, | - | ||||||||||||||||||||||||||||||
| 44 | 0xfc, 0x07, 0xfc, 0x03, 0xfc, 0x07, 0xf8, 0x0f, 0x78, 0x1f, 0x38, 0x3e, | - | ||||||||||||||||||||||||||||||
| 45 | 0x10, 0x7c, 0x00, 0x38, 0x00, 0x10, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 46 | - | |||||||||||||||||||||||||||||||
| 47 | static const unsigned char cur_up_arrow_bits[] = { | - | ||||||||||||||||||||||||||||||
| 48 | 0x80, 0x00, 0x40, 0x01, 0x40, 0x01, 0x20, 0x02, 0x20, 0x02, 0x10, 0x04, | - | ||||||||||||||||||||||||||||||
| 49 | 0x10, 0x04, 0x08, 0x08, 0x78, 0x0f, 0x40, 0x01, 0x40, 0x01, 0x40, 0x01, | - | ||||||||||||||||||||||||||||||
| 50 | 0x40, 0x01, 0x40, 0x01, 0x40, 0x01, 0xc0, 0x01}; | - | ||||||||||||||||||||||||||||||
| 51 | static const unsigned char mcur_up_arrow_bits[] = { | - | ||||||||||||||||||||||||||||||
| 52 | 0x80, 0x00, 0xc0, 0x01, 0xc0, 0x01, 0xe0, 0x03, 0xe0, 0x03, 0xf0, 0x07, | - | ||||||||||||||||||||||||||||||
| 53 | 0xf0, 0x07, 0xf8, 0x0f, 0xf8, 0x0f, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, | - | ||||||||||||||||||||||||||||||
| 54 | 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01}; | - | ||||||||||||||||||||||||||||||
| 55 | - | |||||||||||||||||||||||||||||||
| 56 | static const unsigned char cur_cross_bits[] = { | - | ||||||||||||||||||||||||||||||
| 57 | 0xc0, 0x01, 0x40, 0x01, 0x40, 0x01, 0x40, 0x01, 0x40, 0x01, 0x40, 0x01, | - | ||||||||||||||||||||||||||||||
| 58 | 0x7f, 0x7f, 0x01, 0x40, 0x7f, 0x7f, 0x40, 0x01, 0x40, 0x01, 0x40, 0x01, | - | ||||||||||||||||||||||||||||||
| 59 | 0x40, 0x01, 0x40, 0x01, 0xc0, 0x01, 0x00, 0x00}; | - | ||||||||||||||||||||||||||||||
| 60 | static const unsigned char mcur_cross_bits[] = { | - | ||||||||||||||||||||||||||||||
| 61 | 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, | - | ||||||||||||||||||||||||||||||
| 62 | 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, | - | ||||||||||||||||||||||||||||||
| 63 | 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0x00, 0x00}; | - | ||||||||||||||||||||||||||||||
| 64 | - | |||||||||||||||||||||||||||||||
| 65 | static const uchar cur_ibeam_bits[] = { | - | ||||||||||||||||||||||||||||||
| 66 | 0x00, 0x00, 0xe0, 0x03, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, | - | ||||||||||||||||||||||||||||||
| 67 | 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, | - | ||||||||||||||||||||||||||||||
| 68 | 0x80, 0x00, 0xe0, 0x03, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 69 | static const uchar mcur_ibeam_bits[] = { | - | ||||||||||||||||||||||||||||||
| 70 | 0xf0, 0x07, 0xf0, 0x07, 0xf0, 0x07, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, | - | ||||||||||||||||||||||||||||||
| 71 | 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, | - | ||||||||||||||||||||||||||||||
| 72 | 0xf0, 0x07, 0xf0, 0x07, 0xf0, 0x07, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 73 | - | |||||||||||||||||||||||||||||||
| 74 | static const uchar cur_ver_bits[] = { | - | ||||||||||||||||||||||||||||||
| 75 | 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0xc0, 0x03, 0xe0, 0x07, 0xf0, 0x0f, | - | ||||||||||||||||||||||||||||||
| 76 | 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0xf0, 0x0f, | - | ||||||||||||||||||||||||||||||
| 77 | 0xe0, 0x07, 0xc0, 0x03, 0x80, 0x01, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 78 | static const uchar mcur_ver_bits[] = { | - | ||||||||||||||||||||||||||||||
| 79 | 0x00, 0x00, 0x80, 0x03, 0xc0, 0x07, 0xe0, 0x0f, 0xf0, 0x1f, 0xf8, 0x3f, | - | ||||||||||||||||||||||||||||||
| 80 | 0xfc, 0x7f, 0xc0, 0x07, 0xc0, 0x07, 0xc0, 0x07, 0xfc, 0x7f, 0xf8, 0x3f, | - | ||||||||||||||||||||||||||||||
| 81 | 0xf0, 0x1f, 0xe0, 0x0f, 0xc0, 0x07, 0x80, 0x03 }; | - | ||||||||||||||||||||||||||||||
| 82 | - | |||||||||||||||||||||||||||||||
| 83 | static const uchar cur_hor_bits[] = { | - | ||||||||||||||||||||||||||||||
| 84 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x08, 0x30, 0x18, | - | ||||||||||||||||||||||||||||||
| 85 | 0x38, 0x38, 0xfc, 0x7f, 0xfc, 0x7f, 0x38, 0x38, 0x30, 0x18, 0x20, 0x08, | - | ||||||||||||||||||||||||||||||
| 86 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 87 | static const uchar mcur_hor_bits[] = { | - | ||||||||||||||||||||||||||||||
| 88 | 0x00, 0x00, 0x00, 0x00, 0x40, 0x04, 0x60, 0x0c, 0x70, 0x1c, 0x78, 0x3c, | - | ||||||||||||||||||||||||||||||
| 89 | 0xfc, 0x7f, 0xfe, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0xfc, 0x7f, 0x78, 0x3c, | - | ||||||||||||||||||||||||||||||
| 90 | 0x70, 0x1c, 0x60, 0x0c, 0x40, 0x04, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 91 | static const uchar cur_bdiag_bits[] = { | - | ||||||||||||||||||||||||||||||
| 92 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x3e, | - | ||||||||||||||||||||||||||||||
| 93 | 0x00, 0x37, 0x88, 0x23, 0xd8, 0x01, 0xf8, 0x00, 0x78, 0x00, 0xf8, 0x00, | - | ||||||||||||||||||||||||||||||
| 94 | 0xf8, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 95 | static const uchar mcur_bdiag_bits[] = { | - | ||||||||||||||||||||||||||||||
| 96 | 0x00, 0x00, 0xc0, 0x7f, 0x80, 0x7f, 0x00, 0x7f, 0x00, 0x7e, 0x04, 0x7f, | - | ||||||||||||||||||||||||||||||
| 97 | 0x8c, 0x7f, 0xdc, 0x77, 0xfc, 0x63, 0xfc, 0x41, 0xfc, 0x00, 0xfc, 0x01, | - | ||||||||||||||||||||||||||||||
| 98 | 0xfc, 0x03, 0xfc, 0x07, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 99 | static const uchar cur_fdiag_bits[] = { | - | ||||||||||||||||||||||||||||||
| 100 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x01, 0xf8, 0x00, 0x78, 0x00, | - | ||||||||||||||||||||||||||||||
| 101 | 0xf8, 0x00, 0xd8, 0x01, 0x88, 0x23, 0x00, 0x37, 0x00, 0x3e, 0x00, 0x3c, | - | ||||||||||||||||||||||||||||||
| 102 | 0x00, 0x3e, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 103 | static const uchar mcur_fdiag_bits[] = { | - | ||||||||||||||||||||||||||||||
| 104 | 0x00, 0x00, 0x00, 0x00, 0xfc, 0x07, 0xfc, 0x03, 0xfc, 0x01, 0xfc, 0x00, | - | ||||||||||||||||||||||||||||||
| 105 | 0xfc, 0x41, 0xfc, 0x63, 0xdc, 0x77, 0x8c, 0x7f, 0x04, 0x7f, 0x00, 0x7e, | - | ||||||||||||||||||||||||||||||
| 106 | 0x00, 0x7f, 0x80, 0x7f, 0xc0, 0x7f, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 107 | - | |||||||||||||||||||||||||||||||
| 108 | - | |||||||||||||||||||||||||||||||
| 109 | static const uchar forbidden_bits[] = { | - | ||||||||||||||||||||||||||||||
| 110 | 0x00,0x00,0x00,0x80,0x1f,0x00,0xe0,0x7f,0x00,0xf0,0xf0,0x00,0x38,0xc0,0x01, | - | ||||||||||||||||||||||||||||||
| 111 | 0x7c,0x80,0x03,0xec,0x00,0x03,0xce,0x01,0x07,0x86,0x03,0x06,0x06,0x07,0x06, | - | ||||||||||||||||||||||||||||||
| 112 | 0x06,0x0e,0x06,0x06,0x1c,0x06,0x0e,0x38,0x07,0x0c,0x70,0x03,0x1c,0xe0,0x03, | - | ||||||||||||||||||||||||||||||
| 113 | 0x38,0xc0,0x01,0xf0,0xe0,0x00,0xe0,0x7f,0x00,0x80,0x1f,0x00,0x00,0x00,0x00 }; | - | ||||||||||||||||||||||||||||||
| 114 | - | |||||||||||||||||||||||||||||||
| 115 | static const uchar forbiddenm_bits[] = { | - | ||||||||||||||||||||||||||||||
| 116 | 0x80,0x1f,0x00,0xe0,0x7f,0x00,0xf0,0xff,0x00,0xf8,0xff,0x01,0xfc,0xf0,0x03, | - | ||||||||||||||||||||||||||||||
| 117 | 0xfe,0xc0,0x07,0xfe,0x81,0x07,0xff,0x83,0x0f,0xcf,0x07,0x0f,0x8f,0x0f,0x0f, | - | ||||||||||||||||||||||||||||||
| 118 | 0x0f,0x1f,0x0f,0x0f,0x3e,0x0f,0x1f,0xfc,0x0f,0x1e,0xf8,0x07,0x3e,0xf0,0x07, | - | ||||||||||||||||||||||||||||||
| 119 | 0xfc,0xe0,0x03,0xf8,0xff,0x01,0xf0,0xff,0x00,0xe0,0x7f,0x00,0x80,0x1f,0x00}; | - | ||||||||||||||||||||||||||||||
| 120 | - | |||||||||||||||||||||||||||||||
| 121 | - | |||||||||||||||||||||||||||||||
| 122 | static const uchar wait_data_bits[] = { | - | ||||||||||||||||||||||||||||||
| 123 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 124 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x7f, 0x00, | - | ||||||||||||||||||||||||||||||
| 125 | 0x00, 0x04, 0x40, 0x00, 0x00, 0xfc, 0x7f, 0x00, 0x00, 0x08, 0x20, 0x00, | - | ||||||||||||||||||||||||||||||
| 126 | 0x00, 0x08, 0x20, 0x00, 0x00, 0x08, 0x20, 0x00, 0x00, 0x08, 0x20, 0x00, | - | ||||||||||||||||||||||||||||||
| 127 | 0x00, 0x50, 0x15, 0x00, 0x00, 0xa0, 0x0a, 0x00, 0x00, 0x40, 0x05, 0x00, | - | ||||||||||||||||||||||||||||||
| 128 | 0x00, 0x80, 0x02, 0x00, 0x00, 0x40, 0x04, 0x00, 0x00, 0x20, 0x08, 0x00, | - | ||||||||||||||||||||||||||||||
| 129 | 0x00, 0x10, 0x10, 0x00, 0x00, 0x08, 0x21, 0x00, 0x00, 0x88, 0x22, 0x00, | - | ||||||||||||||||||||||||||||||
| 130 | 0x00, 0x48, 0x25, 0x00, 0x00, 0xa8, 0x2a, 0x00, 0x00, 0xfc, 0x7f, 0x00, | - | ||||||||||||||||||||||||||||||
| 131 | 0x00, 0x04, 0x40, 0x00, 0x00, 0xfc, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 132 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 133 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 134 | static const uchar wait_mask_bits[] = { | - | ||||||||||||||||||||||||||||||
| 135 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 136 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x7f, 0x00, | - | ||||||||||||||||||||||||||||||
| 137 | 0x00, 0xfc, 0x7f, 0x00, 0x00, 0xfc, 0x7f, 0x00, 0x00, 0xf8, 0x3f, 0x00, | - | ||||||||||||||||||||||||||||||
| 138 | 0x00, 0xf8, 0x3f, 0x00, 0x00, 0xf8, 0x3f, 0x00, 0x00, 0xf8, 0x3f, 0x00, | - | ||||||||||||||||||||||||||||||
| 139 | 0x00, 0xf0, 0x1f, 0x00, 0x00, 0xe0, 0x0f, 0x00, 0x00, 0xc0, 0x07, 0x00, | - | ||||||||||||||||||||||||||||||
| 140 | 0x00, 0x80, 0x03, 0x00, 0x00, 0xc0, 0x07, 0x00, 0x00, 0xe0, 0x0f, 0x00, | - | ||||||||||||||||||||||||||||||
| 141 | 0x00, 0xf0, 0x1f, 0x00, 0x00, 0xf8, 0x3f, 0x00, 0x00, 0xf8, 0x3f, 0x00, | - | ||||||||||||||||||||||||||||||
| 142 | 0x00, 0xf8, 0x3f, 0x00, 0x00, 0xf8, 0x3f, 0x00, 0x00, 0xfc, 0x7f, 0x00, | - | ||||||||||||||||||||||||||||||
| 143 | 0x00, 0xfc, 0x7f, 0x00, 0x00, 0xfc, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 144 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 145 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 146 | - | |||||||||||||||||||||||||||||||
| 147 | static const uchar hsplit_bits[] = { | - | ||||||||||||||||||||||||||||||
| 148 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 149 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 150 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x02, 0x00, 0x00, 0x40, 0x02, 0x00, | - | ||||||||||||||||||||||||||||||
| 151 | 0x00, 0x40, 0x02, 0x00, 0x00, 0x40, 0x02, 0x00, 0x00, 0x40, 0x02, 0x00, | - | ||||||||||||||||||||||||||||||
| 152 | 0x00, 0x41, 0x82, 0x00, 0x80, 0x41, 0x82, 0x01, 0xc0, 0x7f, 0xfe, 0x03, | - | ||||||||||||||||||||||||||||||
| 153 | 0x80, 0x41, 0x82, 0x01, 0x00, 0x41, 0x82, 0x00, 0x00, 0x40, 0x02, 0x00, | - | ||||||||||||||||||||||||||||||
| 154 | 0x00, 0x40, 0x02, 0x00, 0x00, 0x40, 0x02, 0x00, 0x00, 0x40, 0x02, 0x00, | - | ||||||||||||||||||||||||||||||
| 155 | 0x00, 0x40, 0x02, 0x00, 0x00, 0x40, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 156 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 157 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 158 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 159 | static const uchar hsplitm_bits[] = { | - | ||||||||||||||||||||||||||||||
| 160 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 161 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 162 | 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, | - | ||||||||||||||||||||||||||||||
| 163 | 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe2, 0x47, 0x00, 0x00, 0xe3, 0xc7, 0x00, | - | ||||||||||||||||||||||||||||||
| 164 | 0x80, 0xe3, 0xc7, 0x01, 0xc0, 0xff, 0xff, 0x03, 0xe0, 0xff, 0xff, 0x07, | - | ||||||||||||||||||||||||||||||
| 165 | 0xc0, 0xff, 0xff, 0x03, 0x80, 0xe3, 0xc7, 0x01, 0x00, 0xe3, 0xc7, 0x00, | - | ||||||||||||||||||||||||||||||
| 166 | 0x00, 0xe2, 0x47, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, | - | ||||||||||||||||||||||||||||||
| 167 | 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 168 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 169 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 170 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 171 | static const uchar vsplit_bits[] = { | - | ||||||||||||||||||||||||||||||
| 172 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 173 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 174 | 0x00, 0x80, 0x00, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xe0, 0x03, 0x00, | - | ||||||||||||||||||||||||||||||
| 175 | 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 176 | 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, | - | ||||||||||||||||||||||||||||||
| 177 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, | - | ||||||||||||||||||||||||||||||
| 178 | 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 179 | 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0xe0, 0x03, 0x00, | - | ||||||||||||||||||||||||||||||
| 180 | 0x00, 0xc0, 0x01, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 181 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 182 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 183 | static const uchar vsplitm_bits[] = { | - | ||||||||||||||||||||||||||||||
| 184 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 185 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 186 | 0x00, 0xc0, 0x01, 0x00, 0x00, 0xe0, 0x03, 0x00, 0x00, 0xf0, 0x07, 0x00, | - | ||||||||||||||||||||||||||||||
| 187 | 0x00, 0xf8, 0x0f, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, | - | ||||||||||||||||||||||||||||||
| 188 | 0x00, 0xc0, 0x01, 0x00, 0x80, 0xff, 0xff, 0x00, 0x80, 0xff, 0xff, 0x00, | - | ||||||||||||||||||||||||||||||
| 189 | 0x80, 0xff, 0xff, 0x00, 0x80, 0xff, 0xff, 0x00, 0x80, 0xff, 0xff, 0x00, | - | ||||||||||||||||||||||||||||||
| 190 | 0x80, 0xff, 0xff, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, | - | ||||||||||||||||||||||||||||||
| 191 | 0x00, 0xc0, 0x01, 0x00, 0x00, 0xf8, 0x0f, 0x00, 0x00, 0xf0, 0x07, 0x00, | - | ||||||||||||||||||||||||||||||
| 192 | 0x00, 0xe0, 0x03, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x80, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 193 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 194 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 195 | static const uchar phand_bits[] = { | - | ||||||||||||||||||||||||||||||
| 196 | 0x00, 0x00, 0x00, 0x00, 0xfe, 0x01, 0x00, 0x00, 0x01, 0x02, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 197 | 0x7e, 0x04, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x70, 0x08, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 198 | 0x08, 0x08, 0x00, 0x00, 0x70, 0x14, 0x00, 0x00, 0x08, 0x22, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 199 | 0x30, 0x41, 0x00, 0x00, 0xc0, 0x20, 0x00, 0x00, 0x40, 0x12, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 200 | 0x80, 0x08, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 201 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 202 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 203 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 204 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 205 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 206 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 207 | static const uchar phandm_bits[] = { | - | ||||||||||||||||||||||||||||||
| 208 | 0xfe, 0x01, 0x00, 0x00, 0xff, 0x03, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 209 | 0xff, 0x0f, 0x00, 0x00, 0xfe, 0x1f, 0x00, 0x00, 0xf8, 0x1f, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 210 | 0xfc, 0x1f, 0x00, 0x00, 0xf8, 0x3f, 0x00, 0x00, 0xfc, 0x7f, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 211 | 0xf8, 0xff, 0x00, 0x00, 0xf0, 0x7f, 0x00, 0x00, 0xe0, 0x3f, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 212 | 0xc0, 0x1f, 0x00, 0x00, 0x80, 0x0f, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 213 | 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 214 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 215 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 216 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 217 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 218 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 219 | - | |||||||||||||||||||||||||||||||
| 220 | static const uchar size_all_data_bits[] = { | - | ||||||||||||||||||||||||||||||
| 221 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 222 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 223 | 0x00, 0x80, 0x00, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xe0, 0x03, 0x00, | - | ||||||||||||||||||||||||||||||
| 224 | 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 225 | 0x00, 0x80, 0x00, 0x00, 0x00, 0x81, 0x40, 0x00, 0x80, 0x81, 0xc0, 0x00, | - | ||||||||||||||||||||||||||||||
| 226 | 0xc0, 0xff, 0xff, 0x01, 0x80, 0x81, 0xc0, 0x00, 0x00, 0x81, 0x40, 0x00, | - | ||||||||||||||||||||||||||||||
| 227 | 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 228 | 0x00, 0x80, 0x00, 0x00, 0x00, 0xe0, 0x03, 0x00, 0x00, 0xc0, 0x01, 0x00, | - | ||||||||||||||||||||||||||||||
| 229 | 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 230 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 231 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 232 | static const uchar size_all_mask_bits[] = { | - | ||||||||||||||||||||||||||||||
| 233 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 234 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 235 | 0x00, 0xc0, 0x01, 0x00, 0x00, 0xe0, 0x03, 0x00, 0x00, 0xf0, 0x07, 0x00, | - | ||||||||||||||||||||||||||||||
| 236 | 0x00, 0xf8, 0x0f, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc2, 0x21, 0x00, | - | ||||||||||||||||||||||||||||||
| 237 | 0x00, 0xc3, 0x61, 0x00, 0x80, 0xc3, 0xe1, 0x00, 0xc0, 0xff, 0xff, 0x01, | - | ||||||||||||||||||||||||||||||
| 238 | 0xe0, 0xff, 0xff, 0x03, 0xc0, 0xff, 0xff, 0x01, 0x80, 0xc3, 0xe1, 0x00, | - | ||||||||||||||||||||||||||||||
| 239 | 0x00, 0xc3, 0x61, 0x00, 0x00, 0xc2, 0x21, 0x00, 0x00, 0xc0, 0x01, 0x00, | - | ||||||||||||||||||||||||||||||
| 240 | 0x00, 0xf8, 0x0f, 0x00, 0x00, 0xf0, 0x07, 0x00, 0x00, 0xe0, 0x03, 0x00, | - | ||||||||||||||||||||||||||||||
| 241 | 0x00, 0xc0, 0x01, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 242 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 243 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | - | ||||||||||||||||||||||||||||||
| 244 | - | |||||||||||||||||||||||||||||||
| 245 | static const uchar whatsthis_bits[] = { | - | ||||||||||||||||||||||||||||||
| 246 | 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x05, 0xf0, 0x07, 0x00, | - | ||||||||||||||||||||||||||||||
| 247 | 0x09, 0x18, 0x0e, 0x00, 0x11, 0x1c, 0x0e, 0x00, 0x21, 0x1c, 0x0e, 0x00, | - | ||||||||||||||||||||||||||||||
| 248 | 0x41, 0x1c, 0x0e, 0x00, 0x81, 0x1c, 0x0e, 0x00, 0x01, 0x01, 0x07, 0x00, | - | ||||||||||||||||||||||||||||||
| 249 | 0x01, 0x82, 0x03, 0x00, 0xc1, 0xc7, 0x01, 0x00, 0x49, 0xc0, 0x01, 0x00, | - | ||||||||||||||||||||||||||||||
| 250 | 0x95, 0xc0, 0x01, 0x00, 0x93, 0xc0, 0x01, 0x00, 0x21, 0x01, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 251 | 0x20, 0xc1, 0x01, 0x00, 0x40, 0xc2, 0x01, 0x00, 0x40, 0x02, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 252 | 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 253 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 254 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 255 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 256 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; | - | ||||||||||||||||||||||||||||||
| 257 | static const uchar whatsthism_bits[] = { | - | ||||||||||||||||||||||||||||||
| 258 | 0x01, 0x00, 0x00, 0x00, 0x03, 0xf0, 0x07, 0x00, 0x07, 0xf8, 0x0f, 0x00, | - | ||||||||||||||||||||||||||||||
| 259 | 0x0f, 0xfc, 0x1f, 0x00, 0x1f, 0x3e, 0x1f, 0x00, 0x3f, 0x3e, 0x1f, 0x00, | - | ||||||||||||||||||||||||||||||
| 260 | 0x7f, 0x3e, 0x1f, 0x00, 0xff, 0x3e, 0x1f, 0x00, 0xff, 0x9d, 0x0f, 0x00, | - | ||||||||||||||||||||||||||||||
| 261 | 0xff, 0xc3, 0x07, 0x00, 0xff, 0xe7, 0x03, 0x00, 0x7f, 0xe0, 0x03, 0x00, | - | ||||||||||||||||||||||||||||||
| 262 | 0xf7, 0xe0, 0x03, 0x00, 0xf3, 0xe0, 0x03, 0x00, 0xe1, 0xe1, 0x03, 0x00, | - | ||||||||||||||||||||||||||||||
| 263 | 0xe0, 0xe1, 0x03, 0x00, 0xc0, 0xe3, 0x03, 0x00, 0xc0, 0xe3, 0x03, 0x00, | - | ||||||||||||||||||||||||||||||
| 264 | 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 265 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 266 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 267 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 268 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; | - | ||||||||||||||||||||||||||||||
| 269 | - | |||||||||||||||||||||||||||||||
| 270 | static const uchar busy_bits[] = { | - | ||||||||||||||||||||||||||||||
| 271 | 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 272 | 0x09, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x21, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 273 | 0x41, 0xe0, 0xff, 0x00, 0x81, 0x20, 0x80, 0x00, 0x01, 0xe1, 0xff, 0x00, | - | ||||||||||||||||||||||||||||||
| 274 | 0x01, 0x42, 0x40, 0x00, 0xc1, 0x47, 0x40, 0x00, 0x49, 0x40, 0x55, 0x00, | - | ||||||||||||||||||||||||||||||
| 275 | 0x95, 0x80, 0x2a, 0x00, 0x93, 0x00, 0x15, 0x00, 0x21, 0x01, 0x0a, 0x00, | - | ||||||||||||||||||||||||||||||
| 276 | 0x20, 0x01, 0x11, 0x00, 0x40, 0x82, 0x20, 0x00, 0x40, 0x42, 0x44, 0x00, | - | ||||||||||||||||||||||||||||||
| 277 | 0x80, 0x41, 0x4a, 0x00, 0x00, 0x40, 0x55, 0x00, 0x00, 0xe0, 0xff, 0x00, | - | ||||||||||||||||||||||||||||||
| 278 | 0x00, 0x20, 0x80, 0x00, 0x00, 0xe0, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 279 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 280 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 281 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; | - | ||||||||||||||||||||||||||||||
| 282 | static const uchar busym_bits[] = { | - | ||||||||||||||||||||||||||||||
| 283 | 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 284 | 0x0f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 285 | 0x7f, 0xe0, 0xff, 0x00, 0xff, 0xe0, 0xff, 0x00, 0xff, 0xe1, 0xff, 0x00, | - | ||||||||||||||||||||||||||||||
| 286 | 0xff, 0xc3, 0x7f, 0x00, 0xff, 0xc7, 0x7f, 0x00, 0x7f, 0xc0, 0x7f, 0x00, | - | ||||||||||||||||||||||||||||||
| 287 | 0xf7, 0x80, 0x3f, 0x00, 0xf3, 0x00, 0x1f, 0x00, 0xe1, 0x01, 0x0e, 0x00, | - | ||||||||||||||||||||||||||||||
| 288 | 0xe0, 0x01, 0x1f, 0x00, 0xc0, 0x83, 0x3f, 0x00, 0xc0, 0xc3, 0x7f, 0x00, | - | ||||||||||||||||||||||||||||||
| 289 | 0x80, 0xc1, 0x7f, 0x00, 0x00, 0xc0, 0x7f, 0x00, 0x00, 0xe0, 0xff, 0x00, | - | ||||||||||||||||||||||||||||||
| 290 | 0x00, 0xe0, 0xff, 0x00, 0x00, 0xe0, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 291 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 292 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | - | ||||||||||||||||||||||||||||||
| 293 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; | - | ||||||||||||||||||||||||||||||
| 294 | - | |||||||||||||||||||||||||||||||
| 295 | - | |||||||||||||||||||||||||||||||
| 296 | static const uchar openhand_bits[] = { | - | ||||||||||||||||||||||||||||||
| 297 | 0x80,0x01,0x58,0x0e,0x64,0x12,0x64,0x52,0x48,0xb2,0x48,0x92, | - | ||||||||||||||||||||||||||||||
| 298 | 0x16,0x90,0x19,0x80,0x11,0x40,0x02,0x40,0x04,0x40,0x04,0x20, | - | ||||||||||||||||||||||||||||||
| 299 | 0x08,0x20,0x10,0x10,0x20,0x10,0x00,0x00}; | - | ||||||||||||||||||||||||||||||
| 300 | static const uchar openhandm_bits[] = { | - | ||||||||||||||||||||||||||||||
| 301 | 0x80,0x01,0xd8,0x0f,0xfc,0x1f,0xfc,0x5f,0xf8,0xff,0xf8,0xff, | - | ||||||||||||||||||||||||||||||
| 302 | 0xfe,0xff,0xff,0xff,0xff,0x7f,0xfe,0x7f,0xfc,0x7f,0xfc,0x3f, | - | ||||||||||||||||||||||||||||||
| 303 | 0xf8,0x3f,0xf0,0x1f,0xe0,0x1f,0x00,0x00}; | - | ||||||||||||||||||||||||||||||
| 304 | static const uchar closedhand_bits[] = { | - | ||||||||||||||||||||||||||||||
| 305 | 0x00,0x00,0x00,0x00,0x00,0x00,0xb0,0x0d,0x48,0x32,0x08,0x50, | - | ||||||||||||||||||||||||||||||
| 306 | 0x10,0x40,0x18,0x40,0x04,0x40,0x04,0x20,0x08,0x20,0x10,0x10, | - | ||||||||||||||||||||||||||||||
| 307 | 0x20,0x10,0x20,0x10,0x00,0x00,0x00,0x00}; | - | ||||||||||||||||||||||||||||||
| 308 | static const uchar closedhandm_bits[] = { | - | ||||||||||||||||||||||||||||||
| 309 | 0x00,0x00,0x00,0x00,0x00,0x00,0xb0,0x0d,0xf8,0x3f,0xf8,0x7f, | - | ||||||||||||||||||||||||||||||
| 310 | 0xf0,0x7f,0xf8,0x7f,0xfc,0x7f,0xfc,0x3f,0xf8,0x3f,0xf0,0x1f, | - | ||||||||||||||||||||||||||||||
| 311 | 0xe0,0x1f,0xe0,0x1f,0x00,0x00,0x00,0x00}; | - | ||||||||||||||||||||||||||||||
| 312 | - | |||||||||||||||||||||||||||||||
| 313 | void QPlatformCursorImage::createSystemCursor(int id) | - | ||||||||||||||||||||||||||||||
| 314 | { | - | ||||||||||||||||||||||||||||||
| 315 | if (!systemCursorTableInit 
 | 0 | ||||||||||||||||||||||||||||||
| 316 | for (int i = 0; i <= Qt::LastCursor 
 | 0 | ||||||||||||||||||||||||||||||
| 317 | systemCursorTable[i] = 0; never executed:  systemCursorTable[i] = 0; | 0 | ||||||||||||||||||||||||||||||
| 318 | systemCursorTableInit = true; | - | ||||||||||||||||||||||||||||||
| 319 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 320 | switch (id) { | - | ||||||||||||||||||||||||||||||
| 321 | - | |||||||||||||||||||||||||||||||
| 322 | case never executed: Qt::ArrowCursor: case Qt::ArrowCursor:never executed:  case Qt::ArrowCursor: | 0 | ||||||||||||||||||||||||||||||
| 323 | systemCursorTable[Qt::ArrowCursor] = | - | ||||||||||||||||||||||||||||||
| 324 | new QPlatformCursorImage(cur_arrow_bits, mcur_arrow_bits, 16, 16, 0, 0); | - | ||||||||||||||||||||||||||||||
| 325 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 326 | - | |||||||||||||||||||||||||||||||
| 327 | case never executed: Qt::UpArrowCursor: case Qt::UpArrowCursor:never executed:  case Qt::UpArrowCursor: | 0 | ||||||||||||||||||||||||||||||
| 328 | systemCursorTable[Qt::UpArrowCursor] = | - | ||||||||||||||||||||||||||||||
| 329 | new QPlatformCursorImage(cur_up_arrow_bits, mcur_up_arrow_bits, 16, 16, 7, 0); | - | ||||||||||||||||||||||||||||||
| 330 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 331 | - | |||||||||||||||||||||||||||||||
| 332 | case never executed: Qt::CrossCursor: case Qt::CrossCursor:never executed:  case Qt::CrossCursor: | 0 | ||||||||||||||||||||||||||||||
| 333 | systemCursorTable[Qt::CrossCursor] = | - | ||||||||||||||||||||||||||||||
| 334 | new QPlatformCursorImage(cur_cross_bits, mcur_cross_bits, 16, 16, 7, 7); | - | ||||||||||||||||||||||||||||||
| 335 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 336 | - | |||||||||||||||||||||||||||||||
| 337 | case never executed: Qt::IBeamCursor: case Qt::IBeamCursor:never executed:  case Qt::IBeamCursor: | 0 | ||||||||||||||||||||||||||||||
| 338 | systemCursorTable[Qt::IBeamCursor] = | - | ||||||||||||||||||||||||||||||
| 339 | new QPlatformCursorImage(cur_ibeam_bits, mcur_ibeam_bits, 16, 16, 7, 7); | - | ||||||||||||||||||||||||||||||
| 340 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 341 | - | |||||||||||||||||||||||||||||||
| 342 | case never executed: Qt::SizeVerCursor: case Qt::SizeVerCursor:never executed:  case Qt::SizeVerCursor: | 0 | ||||||||||||||||||||||||||||||
| 343 | systemCursorTable[Qt::SizeVerCursor] = | - | ||||||||||||||||||||||||||||||
| 344 | new QPlatformCursorImage(cur_ver_bits, mcur_ver_bits, 16, 16, 7, 7); | - | ||||||||||||||||||||||||||||||
| 345 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 346 | - | |||||||||||||||||||||||||||||||
| 347 | case never executed: Qt::SizeHorCursor: case Qt::SizeHorCursor:never executed:  case Qt::SizeHorCursor: | 0 | ||||||||||||||||||||||||||||||
| 348 | systemCursorTable[Qt::SizeHorCursor] = | - | ||||||||||||||||||||||||||||||
| 349 | new QPlatformCursorImage(cur_hor_bits, mcur_hor_bits, 16, 16, 7, 7); | - | ||||||||||||||||||||||||||||||
| 350 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 351 | - | |||||||||||||||||||||||||||||||
| 352 | case never executed: Qt::SizeBDiagCursor: case Qt::SizeBDiagCursor:never executed:  case Qt::SizeBDiagCursor: | 0 | ||||||||||||||||||||||||||||||
| 353 | systemCursorTable[Qt::SizeBDiagCursor] = | - | ||||||||||||||||||||||||||||||
| 354 | new QPlatformCursorImage(cur_bdiag_bits, mcur_bdiag_bits, 16, 16, 7, 7); | - | ||||||||||||||||||||||||||||||
| 355 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 356 | - | |||||||||||||||||||||||||||||||
| 357 | case never executed: Qt::SizeFDiagCursor: case Qt::SizeFDiagCursor:never executed:  case Qt::SizeFDiagCursor: | 0 | ||||||||||||||||||||||||||||||
| 358 | systemCursorTable[Qt::SizeFDiagCursor] = | - | ||||||||||||||||||||||||||||||
| 359 | new QPlatformCursorImage(cur_fdiag_bits, mcur_fdiag_bits, 16, 16, 7, 7); | - | ||||||||||||||||||||||||||||||
| 360 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 361 | - | |||||||||||||||||||||||||||||||
| 362 | case never executed: Qt::BlankCursor: case Qt::BlankCursor:never executed:  case Qt::BlankCursor: | 0 | ||||||||||||||||||||||||||||||
| 363 | systemCursorTable[Qt::BlankCursor] = | - | ||||||||||||||||||||||||||||||
| 364 | new QPlatformCursorImage(0, 0, 0, 0, 0, 0); | - | ||||||||||||||||||||||||||||||
| 365 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 366 | - | |||||||||||||||||||||||||||||||
| 367 | - | |||||||||||||||||||||||||||||||
| 368 | case never executed: Qt::ForbiddenCursor: case Qt::ForbiddenCursor:never executed:  case Qt::ForbiddenCursor: | 0 | ||||||||||||||||||||||||||||||
| 369 | systemCursorTable[Qt::ForbiddenCursor] = | - | ||||||||||||||||||||||||||||||
| 370 | new QPlatformCursorImage(forbidden_bits, forbiddenm_bits, 20, 20, 10, 10); | - | ||||||||||||||||||||||||||||||
| 371 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 372 | - | |||||||||||||||||||||||||||||||
| 373 | - | |||||||||||||||||||||||||||||||
| 374 | case never executed: Qt::WaitCursor: case Qt::WaitCursor:never executed:  case Qt::WaitCursor: | 0 | ||||||||||||||||||||||||||||||
| 375 | systemCursorTable[Qt::WaitCursor] = | - | ||||||||||||||||||||||||||||||
| 376 | new QPlatformCursorImage(wait_data_bits, wait_mask_bits, 32, 32, 15, 15); | - | ||||||||||||||||||||||||||||||
| 377 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 378 | - | |||||||||||||||||||||||||||||||
| 379 | case never executed: Qt::SplitVCursor: case Qt::SplitVCursor:never executed:  case Qt::SplitVCursor: | 0 | ||||||||||||||||||||||||||||||
| 380 | systemCursorTable[Qt::SplitVCursor] = | - | ||||||||||||||||||||||||||||||
| 381 | new QPlatformCursorImage(vsplit_bits, vsplitm_bits, 32, 32, 15, 15); | - | ||||||||||||||||||||||||||||||
| 382 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 383 | - | |||||||||||||||||||||||||||||||
| 384 | case never executed: Qt::SplitHCursor: case Qt::SplitHCursor:never executed:  case Qt::SplitHCursor: | 0 | ||||||||||||||||||||||||||||||
| 385 | systemCursorTable[Qt::SplitHCursor] = | - | ||||||||||||||||||||||||||||||
| 386 | new QPlatformCursorImage(hsplit_bits, hsplitm_bits, 32, 32, 15, 15); | - | ||||||||||||||||||||||||||||||
| 387 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 388 | - | |||||||||||||||||||||||||||||||
| 389 | case never executed: Qt::SizeAllCursor: case Qt::SizeAllCursor:never executed:  case Qt::SizeAllCursor: | 0 | ||||||||||||||||||||||||||||||
| 390 | systemCursorTable[Qt::SizeAllCursor] = | - | ||||||||||||||||||||||||||||||
| 391 | new QPlatformCursorImage(size_all_data_bits, size_all_mask_bits, 32, 32, 15, 15); | - | ||||||||||||||||||||||||||||||
| 392 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 393 | - | |||||||||||||||||||||||||||||||
| 394 | case never executed: Qt::PointingHandCursor: case Qt::PointingHandCursor:never executed:  case Qt::PointingHandCursor: | 0 | ||||||||||||||||||||||||||||||
| 395 | systemCursorTable[Qt::PointingHandCursor] = | - | ||||||||||||||||||||||||||||||
| 396 | new QPlatformCursorImage(phand_bits, phandm_bits, 32, 32, 0, 0); | - | ||||||||||||||||||||||||||||||
| 397 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 398 | - | |||||||||||||||||||||||||||||||
| 399 | case never executed: Qt::WhatsThisCursor: case Qt::WhatsThisCursor:never executed:  case Qt::WhatsThisCursor: | 0 | ||||||||||||||||||||||||||||||
| 400 | systemCursorTable[Qt::WhatsThisCursor] = | - | ||||||||||||||||||||||||||||||
| 401 | new QPlatformCursorImage(whatsthis_bits, whatsthism_bits, 32, 32, 0, 0); | - | ||||||||||||||||||||||||||||||
| 402 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 403 | case never executed: Qt::BusyCursor: case Qt::BusyCursor:never executed:  case Qt::BusyCursor: | 0 | ||||||||||||||||||||||||||||||
| 404 | systemCursorTable[Qt::BusyCursor] = | - | ||||||||||||||||||||||||||||||
| 405 | new QPlatformCursorImage(busy_bits, busym_bits, 32, 32, 0, 0); | - | ||||||||||||||||||||||||||||||
| 406 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 407 | - | |||||||||||||||||||||||||||||||
| 408 | case never executed: Qt::OpenHandCursor: case Qt::OpenHandCursor:never executed:  case Qt::OpenHandCursor: | 0 | ||||||||||||||||||||||||||||||
| 409 | systemCursorTable[Qt::OpenHandCursor] = | - | ||||||||||||||||||||||||||||||
| 410 | new QPlatformCursorImage(openhand_bits, openhandm_bits, 16, 16, 8, 8); | - | ||||||||||||||||||||||||||||||
| 411 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 412 | case never executed: Qt::ClosedHandCursor: case Qt::ClosedHandCursor:never executed:  case Qt::ClosedHandCursor: | 0 | ||||||||||||||||||||||||||||||
| 413 | systemCursorTable[Qt::ClosedHandCursor] = | - | ||||||||||||||||||||||||||||||
| 414 | new QPlatformCursorImage(closedhand_bits, closedhandm_bits, 16, 16, 8, 8); | - | ||||||||||||||||||||||||||||||
| 415 | break; never executed:  break; | 0 | ||||||||||||||||||||||||||||||
| 416 | default never executed: : default:never executed:  default: | 0 | ||||||||||||||||||||||||||||||
| 417 | QMessageLogger(__FILE__, 526, __PRETTY_FUNCTION__).warning("Unknown system cursor %d", id); | - | ||||||||||||||||||||||||||||||
| 418 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 419 | } | - | ||||||||||||||||||||||||||||||
| 420 | void QPlatformCursorImage::set(Qt::CursorShape id) | - | ||||||||||||||||||||||||||||||
| 421 | { | - | ||||||||||||||||||||||||||||||
| 422 | QPlatformCursorImage *cursor = 0; | - | ||||||||||||||||||||||||||||||
| 423 | if (id >= 0 
 
 | 0 | ||||||||||||||||||||||||||||||
| 424 | if (!systemCursorTable[id] 
 | 0 | ||||||||||||||||||||||||||||||
| 425 | createSystemCursor(id); never executed:  createSystemCursor(id); | 0 | ||||||||||||||||||||||||||||||
| 426 | cursor = systemCursorTable[id]; | - | ||||||||||||||||||||||||||||||
| 427 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 428 | - | |||||||||||||||||||||||||||||||
| 429 | if (cursor == 0 
 | 0 | ||||||||||||||||||||||||||||||
| 430 | if (!systemCursorTable[Qt::ArrowCursor] 
 | 0 | ||||||||||||||||||||||||||||||
| 431 | createSystemCursor(Qt::ArrowCursor); never executed:  createSystemCursor(Qt::ArrowCursor); | 0 | ||||||||||||||||||||||||||||||
| 432 | cursor = systemCursorTable[Qt::ArrowCursor]; | - | ||||||||||||||||||||||||||||||
| 433 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 434 | cursorImage = cursor->cursorImage; | - | ||||||||||||||||||||||||||||||
| 435 | hot = cursor->hot; | - | ||||||||||||||||||||||||||||||
| 436 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 437 | - | |||||||||||||||||||||||||||||||
| 438 | - | |||||||||||||||||||||||||||||||
| 439 | - | |||||||||||||||||||||||||||||||
| 440 | - | |||||||||||||||||||||||||||||||
| 441 | - | |||||||||||||||||||||||||||||||
| 442 | - | |||||||||||||||||||||||||||||||
| 443 | void QPlatformCursorImage::set(const QImage &image, int hx, int hy) | - | ||||||||||||||||||||||||||||||
| 444 | { | - | ||||||||||||||||||||||||||||||
| 445 | hot.setX(hx); | - | ||||||||||||||||||||||||||||||
| 446 | hot.setY(hy); | - | ||||||||||||||||||||||||||||||
| 447 | cursorImage = image; | - | ||||||||||||||||||||||||||||||
| 448 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 449 | void QPlatformCursorImage::set(const uchar *data, const uchar *mask, | - | ||||||||||||||||||||||||||||||
| 450 | int width, int height, int hx, int hy) | - | ||||||||||||||||||||||||||||||
| 451 | { | - | ||||||||||||||||||||||||||||||
| 452 | hot.setX(hx); | - | ||||||||||||||||||||||||||||||
| 453 | hot.setY(hy); | - | ||||||||||||||||||||||||||||||
| 454 | - | |||||||||||||||||||||||||||||||
| 455 | cursorImage = QImage(width,height, QImage::Format_Indexed8); | - | ||||||||||||||||||||||||||||||
| 456 | - | |||||||||||||||||||||||||||||||
| 457 | if (!width 
 
 
 
 
 | 0 | ||||||||||||||||||||||||||||||
| 458 | return; never executed:  return; | 0 | ||||||||||||||||||||||||||||||
| 459 | - | |||||||||||||||||||||||||||||||
| 460 | cursorImage.setColorCount(3); | - | ||||||||||||||||||||||||||||||
| 461 | cursorImage.setColor(0, 0xff000000); | - | ||||||||||||||||||||||||||||||
| 462 | cursorImage.setColor(1, 0xffffffff); | - | ||||||||||||||||||||||||||||||
| 463 | cursorImage.setColor(2, 0x00000000); | - | ||||||||||||||||||||||||||||||
| 464 | - | |||||||||||||||||||||||||||||||
| 465 | int bytesPerLine = (width + 7) / 8; | - | ||||||||||||||||||||||||||||||
| 466 | int p = 0; | - | ||||||||||||||||||||||||||||||
| 467 | int d, m; | - | ||||||||||||||||||||||||||||||
| 468 | - | |||||||||||||||||||||||||||||||
| 469 | int x = -1, w = 0; | - | ||||||||||||||||||||||||||||||
| 470 | - | |||||||||||||||||||||||||||||||
| 471 | uchar *cursor_data = cursorImage.bits(); | - | ||||||||||||||||||||||||||||||
| 472 | int bpl = cursorImage.bytesPerLine(); | - | ||||||||||||||||||||||||||||||
| 473 | for (int i = 0; i < height 
 | 0 | ||||||||||||||||||||||||||||||
| 474 | { | - | ||||||||||||||||||||||||||||||
| 475 | for (int j = 0; j < bytesPerLine 
 | 0 | ||||||||||||||||||||||||||||||
| 476 | { | - | ||||||||||||||||||||||||||||||
| 477 | for (int b = 0; b < 8 
 
 | 0 | ||||||||||||||||||||||||||||||
| 478 | { | - | ||||||||||||||||||||||||||||||
| 479 | d = *data & (1 << b); | - | ||||||||||||||||||||||||||||||
| 480 | m = *mask & (1 << b); | - | ||||||||||||||||||||||||||||||
| 481 | if (d 
 
 never executed:  p = 0; | 0 | ||||||||||||||||||||||||||||||
| 482 | else if (!d 
 
 never executed:  p = 1; | 0 | ||||||||||||||||||||||||||||||
| 483 | else p = 2; never executed:  p = 2; | 0 | ||||||||||||||||||||||||||||||
| 484 | cursor_data[j*8+b] = p; | - | ||||||||||||||||||||||||||||||
| 485 | - | |||||||||||||||||||||||||||||||
| 486 | - | |||||||||||||||||||||||||||||||
| 487 | if (x < 0 
 
 | 0 | ||||||||||||||||||||||||||||||
| 488 | x = j*8+b; never executed:  x = j*8+b; | 0 | ||||||||||||||||||||||||||||||
| 489 | else if (x >= 0 
 
 | 0 | ||||||||||||||||||||||||||||||
| 490 | x = -1; | - | ||||||||||||||||||||||||||||||
| 491 | w = 0; | - | ||||||||||||||||||||||||||||||
| 492 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 493 | if (m 
 | 0 | ||||||||||||||||||||||||||||||
| 494 | w++; never executed:  w++; | 0 | ||||||||||||||||||||||||||||||
| 495 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 496 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 497 | if (x >= 0 
 | 0 | ||||||||||||||||||||||||||||||
| 498 | x = -1; | - | ||||||||||||||||||||||||||||||
| 499 | w = 0; | - | ||||||||||||||||||||||||||||||
| 500 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 501 | cursor_data += bpl; | - | ||||||||||||||||||||||||||||||
| 502 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 503 | - | |||||||||||||||||||||||||||||||
| 504 | } never executed:  end of block | 0 | ||||||||||||||||||||||||||||||
| 505 | - | |||||||||||||||||||||||||||||||
| Switch to Source code | Preprocessed file |