mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-11 13:39:55 +02:00
System/Libraries/Widget: Initial support for ListViewWidget
This commit is contained in:
@@ -786,6 +786,16 @@ U0 @compositor_handle_window_input_events(Window* win)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (win->focused_widget->type == WIDGET_TYPE_LISTVIEW) {
|
||||
if (@widget_listview_handle_key(win->focused_widget)) {
|
||||
msg = CAlloc(sizeof(IpcMessage));
|
||||
System.Log(Fs, "Sent message → WinKeyPress");
|
||||
msg->client = win->client;
|
||||
msg->type = CPZ_MSG_WIN_KEY_PRESS;
|
||||
msg->payload = win;
|
||||
Ipc.MsgSend(msg->client, msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (Mouse.z != Compositor.mouse.delta_z) {
|
||||
|
||||
Reference in New Issue
Block a user