win32 standalone gui
This commit is contained in:
parent
1ad6b8db3d
commit
1a595871dd
10 changed files with 1773 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
const std = @import("std");
|
||||
const build_options = @import("build_options");
|
||||
const tp = @import("thespian");
|
||||
const cbor = @import("cbor");
|
||||
const log = @import("log");
|
||||
|
@ -256,6 +257,13 @@ fn receive_safe(self: *Self, from: tp.pid_ref, m: tp.message) !void {
|
|||
return;
|
||||
}
|
||||
|
||||
if (build_options.gui) {
|
||||
if (try m.match(.{ "GUI", tp.more })) {
|
||||
try self.rdr.process_gui_event(m);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (self.message_filters.filter(from, m) catch |e| return self.logger.err("filter", e))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue