recognize other text formats besides "text/plain" and "text/html" (they will be ...
[chiroptera.git] / chievents.d
blob3130cfbb8efbb2338c705e2021db4ff25e2b47d5
1 module chievents /*is aliced*/;
3 import iv.alice;
4 import egui;
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 {
25 uint accid;
27 this (uint aid) nothrow @safe @nogc { accid = aid; }
30 public class UpdatingAccountCompleteEvent {
31 uint accid;
33 this (uint aid) nothrow @safe @nogc { accid = aid; }
36 public class UpdatingCompleteEvent {}
38 public class TagThreadsUpdatedEvent {
39 uint tagid;
41 this (uint tgid) nothrow @safe @nogc { tagid = tgid; }
45 __gshared DoConsoleCommandsEvent evDoConCommands;
46 //__gshared TrayStartAnimationEvent evStartTrayAnim;
47 //__gshared TrayStopAnimationEvent evStopTrayAnim;
48 //__gshared TraySetupAnimationEvent evSetupTrayAnim;
49 //__gshared DoCheckBoxesCycleEvent evDoCheckBoxesCycle;
51 shared static this () {
52 evDoConCommands = new DoConsoleCommandsEvent();
53 //evStartTrayAnim = new TrayStartAnimationEvent();
54 //evStopTrayAnim = new TrayStopAnimationEvent();
55 //evSetupTrayAnim = new TraySetupAnimationEvent();
56 //evDoCheckBoxesCycle = new DoCheckBoxesCycleEvent();
60 //public void postDoCheckBoxesCycle () { if (vbwin !is null && !vbwin.eventQueued!DoCheckBoxesCycleEvent) vbwin.postEvent(evDoCheckBoxesCycle); }
61 //public void postTrayAnimationStart () { if (vbwin !is null && !vbwin.eventQueued!TrayStartAnimationEvent) vbwin.postEvent(evStartTrayAnim); }
62 //public void postTrayAnimationStop () { if (vbwin !is null && !vbwin.eventQueued!TrayStopAnimationEvent) vbwin.postEvent(evStopTrayAnim); }
63 //public void postTrayAnimationSetup () { if (vbwin !is null && !vbwin.eventQueued!TraySetupAnimationEvent) vbwin.postEvent(evSetupTrayAnim); }
64 public void postDoConCommands () { if (vbwin !is null && !vbwin.eventQueued!DoConsoleCommandsEvent) vbwin.postEvent(evDoConCommands); }