瀏覽代碼

Merge pull request #5533 from weskerfoot/add-missing-xlib-proc

add missing xlib functions for getting and setting text properties
gingerBill 4 周之前
父節點
當前提交
6d68488a50
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      vendor/x11/xlib/xlib_procs.odin

+ 12 - 0
vendor/x11/xlib/xlib_procs.odin

@@ -389,6 +389,18 @@ foreign xlib {
 		requestor:   Window,
 		time:        Time,
 		) ---
+	GetTextProperty :: proc(
+		display:            ^Display,
+		window:             Window,
+		text_prop_return:   ^XTextProperty,
+		property:           Atom,
+		) -> Status ---
+	SetTextProperty :: proc(
+		display:     ^Display,
+		window:      Window,
+		text_prop:   ^XTextProperty,
+		property:    Atom,
+		) ---
 	// Creating and freeing pixmaps
 	CreatePixmap :: proc(
 		display:   ^Display,