Ignore:
Timestamp:
07/23/06 05:34:34 (18 years ago)
Author:
Nicholas Riley
Message:

Properly update display of periodic alarms when time changes. Add calendar IPC message creation (not hooked up yet, maybe never). Be slightly more efficient about tooltip drawing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hiptop/pester/net/sabi/pester/AlarmListView.java

    r276 r277  
    5050        switch (e.type) {
    5151        case EVENT_NEW_ALARM:
     52            // XXX check for max alarms
    5253            alarmSetDialog().editAlarm(new Alarm(), true);
    5354            return true;
     
    100101            ToolTipWindow.showToolTip(alarm.getDateTimeString() + " - " +
    101102                                      alarm.getIntervalString(),
    102                                       10, rect.bottom, 1, sAlarmListWindow);
     103                                      localToGlobalH(10),
     104                                      localToGlobalV(mToolTipY),
     105                                      1, sAlarmListWindow);
    103106        int secondsUntilUpdate = alarm.getSecondsUntilNextIntervalStringUpdate();
    104107        if (secondsUntilUpdate == 0)
Note: See TracChangeset for help on using the changeset viewer.