随笔分类 - gtk学习笔记
这是我学习gtk的个人笔记,发现clion很好用哦
摘要:这篇git提供了简单的cairo绘制到sdlTexture上的方法 https://gist.github.com/sprae/607305450c51ccc482b78bdadadb9af6链接 配置makefile cmake_minimum_required(VERSION 3.19) pro
阅读全文
摘要:先贴一份github上的代码https://github.com/tsuu32/sdl2-cairo-example 不知道是不是版本问题,有一行编译会报错,注释掉就能跑了 #include <stdio.h> #include <stdbool.h> #include <SDL.h> #inclu
阅读全文
摘要:本篇笔记基于油管大神的博客学习https://prognotes.net/2016/03/gtk-3-c-code-hello-world-tutorial-using-glade-3/ 连接 使用glade拖拽一个界面出来 界面包含一个window,一个fixed,两个label和一个button
阅读全文
摘要:用代码画界面很累,用图形化工具画界面很爽 什么是glade,是一个可以拖拽出一个界面的工具 下载glade 旧版本链接在这http://60.179.35.214:2811/e/file/download?code=4a4e3f7e24081336&id=47396 windows新版本glade3
阅读全文
摘要:先贴出油管大佬的教程博客https://prognotes.net/category/gtk-3/链接 然后是https://www.cnblogs.com/tennysonsky/p/4257037.html链接 接着是一些cairo的示例程序https://zetcode.com/gfx/cai
阅读全文