1 module chievents
/*is aliced*/;
7 // ////////////////////////////////////////////////////////////////////////// //
8 public __gshared
int guiGroupListWidth
= 140*2;
9 public __gshared
int guiThreadListHeight
= 250*2-100;
10 public __gshared
int guiMessageTextLPad
= 6;
11 public __gshared
int guiMessageTextVPad
= 4;
12 public __gshared
int guiMessageTextInterline
= 4;
13 public __gshared
int guiScrollbarWidth
= 8;
16 // ////////////////////////////////////////////////////////////////////////// //
17 public class DoConsoleCommandsEvent
{}
18 ////public class TrayStartAnimationEvent {}
19 //public class TrayStopAnimationEvent {}
20 //public class TraySetupAnimationEvent {}
21 //public class DoCheckBoxesCycleEvent {}
24 public class UpdatingAccountEvent
{
27 this (uint aid
) nothrow @safe @nogc { accid
= aid
; }
30 public class UpdatingAccountCompleteEvent
{
33 this (uint aid
) nothrow @safe @nogc { accid
= aid
; }
36 public class UpdatingCompleteEvent
{}
38 public class RecalcAllTwitsEvent
{}
40 public class TagThreadsUpdatedEvent
{
43 this (uint tgid
) nothrow @safe @nogc { tagid
= tgid
; }
47 __gshared DoConsoleCommandsEvent evDoConCommands
;
48 //__gshared TrayStartAnimationEvent evStartTrayAnim;
49 //__gshared TrayStopAnimationEvent evStopTrayAnim;
50 //__gshared TraySetupAnimationEvent evSetupTrayAnim;
51 //__gshared DoCheckBoxesCycleEvent evDoCheckBoxesCycle;
53 shared static this () {
54 evDoConCommands
= new DoConsoleCommandsEvent();
55 //evStartTrayAnim = new TrayStartAnimationEvent();
56 //evStopTrayAnim = new TrayStopAnimationEvent();
57 //evSetupTrayAnim = new TraySetupAnimationEvent();
58 //evDoCheckBoxesCycle = new DoCheckBoxesCycleEvent();
62 //public void postDoCheckBoxesCycle () { if (vbwin !is null && !vbwin.eventQueued!DoCheckBoxesCycleEvent) vbwin.postEvent(evDoCheckBoxesCycle); }
63 //public void postTrayAnimationStart () { if (vbwin !is null && !vbwin.eventQueued!TrayStartAnimationEvent) vbwin.postEvent(evStartTrayAnim); }
64 //public void postTrayAnimationStop () { if (vbwin !is null && !vbwin.eventQueued!TrayStopAnimationEvent) vbwin.postEvent(evStopTrayAnim); }
65 //public void postTrayAnimationSetup () { if (vbwin !is null && !vbwin.eventQueued!TraySetupAnimationEvent) vbwin.postEvent(evSetupTrayAnim); }
66 public void postDoConCommands () { if (vbwin
!is null && !vbwin
.eventQueued
!DoConsoleCommandsEvent
) vbwin
.postEvent(evDoConCommands
); }