equal
deleted
inserted
replaced
64 case WE_CLICK: |
64 case WE_CLICK: |
65 if (e->we.click.widget >= TTW_WIDGET_SIGNS && e->we.click.widget < TTW_WIDGET_END) { |
65 if (e->we.click.widget >= TTW_WIDGET_SIGNS && e->we.click.widget < TTW_WIDGET_END) { |
66 if (_ctrl_pressed) { |
66 if (_ctrl_pressed) { |
67 /* toggle the bit of the transparencies lock variable */ |
67 /* toggle the bit of the transparencies lock variable */ |
68 ToggleTransparencyLock((TransparencyOption)(e->we.click.widget - TTW_WIDGET_SIGNS)); |
68 ToggleTransparencyLock((TransparencyOption)(e->we.click.widget - TTW_WIDGET_SIGNS)); |
69 SetWindowDirty(w); |
69 w->SetDirty(); |
70 } else { |
70 } else { |
71 /* toggle the bit of the transparencies variable and play a sound */ |
71 /* toggle the bit of the transparencies variable and play a sound */ |
72 ToggleTransparency((TransparencyOption)(e->we.click.widget - TTW_WIDGET_SIGNS)); |
72 ToggleTransparency((TransparencyOption)(e->we.click.widget - TTW_WIDGET_SIGNS)); |
73 SndPlayFx(SND_15_BEEP); |
73 SndPlayFx(SND_15_BEEP); |
74 MarkWholeScreenDirty(); |
74 MarkWholeScreenDirty(); |