Feature #161
closed
show information on two lines
Added by Anonymous about 15 years ago.
Updated over 14 years ago.
Description
Hi
Currently this plugin can show information only on one single line. With following patch it is possible to have a second line.
The content of this additional line should be target of further enhancements.
greets
Sven
Files
- Due date set to 09/29/2009
- Status changed from New to Resolved
- Assignee set to anbr
- % Done changed from 0 to 100
- Estimated time set to 3:00 h
Thanks, i apply your patch with 3c26d247.
FYI: i have two memory leaks removed. (buffer / firstline)
+ if (theSetup.m_bTwoLineMode && (m_eWatchMode >= eReplayNormal) ) {
+ time_t ts = time(NULL);
+ struct tm l;
+ localtime_r(&ts, &l);
+
+ char* buffer = new char[20];
+ sprintf(buffer, "%d:%d", l.tm_hour, l.tm_min);
+ firstLine = new cString(buffer);;
+ }
Regards Andreas
- Status changed from Resolved to Closed
- Target version changed from 0.0.2 to 0.0.3
Also available in: Atom
PDF