equal
deleted
inserted
replaced
167 |
167 |
168 /** |
168 /** |
169 * Insert a chunk of text from the clipboard onto the textbuffer. Get TEXT clipboard |
169 * Insert a chunk of text from the clipboard onto the textbuffer. Get TEXT clipboard |
170 * and append this up to the maximum length (either absolute or screenlength). If maxlength |
170 * and append this up to the maximum length (either absolute or screenlength). If maxlength |
171 * is zero, we don't care about the screenlength but only about the physical length of the string |
171 * is zero, we don't care about the screenlength but only about the physical length of the string |
172 * @param tb @Textbuf type to be changed |
172 * @param tb Textbuf type to be changed |
173 * @return Return true on successfull change of Textbuf, or false otherwise |
173 * @return Return true on successfull change of Textbuf, or false otherwise |
174 */ |
174 */ |
175 bool InsertTextBufferClipboard(Textbuf *tb) |
175 bool InsertTextBufferClipboard(Textbuf *tb) |
176 { |
176 { |
177 /* XXX -- Currently no clipboard support implemented with GCC */ |
177 /* XXX -- Currently no clipboard support implemented with GCC */ |
220 |
220 |
221 |
221 |
222 void CSleep(int milliseconds) |
222 void CSleep(int milliseconds) |
223 { |
223 { |
224 #ifndef __INNOTEK_LIBC__ |
224 #ifndef __INNOTEK_LIBC__ |
225 delay(milliseconds); |
225 delay(milliseconds); |
226 #else |
226 #else |
227 usleep(milliseconds * 1000); |
227 usleep(milliseconds * 1000); |
228 #endif |
228 #endif |
229 } |
229 } |
230 |
230 |