永发信息网

有没有K-shoot mania的程序本体

答案:1  悬赏:0  手机版
解决时间 2021-11-15 08:17
  • 提问者网友:贪了杯
  • 2021-11-14 23:05
有没有K-shoot mania的程序本体
最佳答案
  • 五星知识达人网友:蕴藏春秋
  • 2021-11-14 23:44
g_return_if_fail (region != NULL);
 g_return_if_fail (rectangle != NULL);
 rectangle->x = region->extents.x1;
 rectangle->y = region->extents.y1;
 rectangle->width = region->extents.x2 - region->extents.x1;
 rectangle->height = region->extents.y2 - region->extents.y1;
 GdkRectangle rect;
 rect.x = rectangle->x;
 rect.y = rectangle->y;
 rect.width = 0;
 rect.height = rectangle->height;
 //The caret width is 2;
 //Maybe sometimes we will make a mistake, but for most of the time, it should be the caret.
 if(rectangle->width == 2 && GTK_IS_IM_CONTEXT(local_context)) {
 gtk_im_context_set_cursor_location(local_context, rectangle);
 }
 }
 //this is needed, for example, if you input something in file dialog and return back the edit area
 //context will lost, so here we set it again.
 static GdkFilterReturn event_filter (GdkXEvent *xevent, GdkEvent *event, gpointer im_context)
 {
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯