| 169 | } |
| 170 | |
| 171 | void Entry::getEntryThemeInfo(int* scroll, int* caret, int* state, |
| 172 | int* selbeg, int* selend) |
| 173 | { |
| 174 | if (scroll) *scroll = m_scroll; |
| 175 | if (caret) *caret = m_caret; |
| 176 | if (state) *state = !m_hidden && m_state; |
| 177 | |
| 178 | if ((m_select >= 0) && |
| 179 | (m_caret != m_select)) { |
| 180 | *selbeg = MIN(m_caret, m_select); |
| 181 | *selend = MAX(m_caret, m_select)-1; |
| 182 | } |
| 183 | else { |
| 184 | *selbeg = -1; |
| 185 | *selend = -1; |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | gfx::Rect Entry::getEntryTextBounds() const |
| 190 | { |
no outgoing calls
no test coverage detected