Update gtk117

This commit is contained in:
daleclack 2021-11-28 21:02:17 +08:00
parent 7d729fd6b6
commit fffe3bfaa8
12 changed files with 22 additions and 7 deletions

View File

@ -127,7 +127,7 @@ void MyWin::get_pixel_color(int x,int y){
if(sized->get_has_alpha()){ if(sized->get_has_alpha()){
color_str = Glib::ustring(g_strdup_printf("#%02X%02X%02X%02X",red,blue,green,alpha)); color_str = Glib::ustring(g_strdup_printf("#%02X%02X%02X%02X",red,blue,green,alpha));
}else{ }else{
color_str = Glib::ustring(g_strdup_printf("#%02X%02X%02X",red,blue,green)); color_str = Glib::ustring(g_strdup_printf("#%02X%02X%02X",red,green,blue));
} }
label_color_str.set_label(color_str); label_color_str.set_label(color_str);
} }

View File

@ -1,28 +1,35 @@
# testing-repository # testing-repository
A testing repository ## A testing repository
[Experimental]: After gtk112 and gtk113, the submodule GCR_CMake is imported [Experimental]: The rust programming language is imported for some codes
[News]: After gtk112 and gtk113, the submodule GCR_CMake is imported
Thanks for the project author https://github.com/Makman2/GCR_CMake Thanks for the project author https://github.com/Makman2/GCR_CMake
(Actually, I forked the project for convenience) (Actually, I forked the project for convenience)
### These contents are outdated:
Note: To minimize the repeated files,I put the same files as public resource Note: To minimize the repeated files,I put the same files as public resource
The file name is above: public\_res\<filename\>\_\<file extension\> or public\_res\<filename\>\_\<file extension\> The file name is above:
public\_res\<filename\>\_\<file extension\> or public\_res\<filename\>\_\<file extension\>
~~Please compile with g++ or gcc (Clang is also supported)
Please compile with g++ or gcc (Clang is also supported)
(Visual Studio may have issues) (Visual Studio may have issues)
Ege dircitory need ege 19.01 and above to complie Ege dircitory need ege 19.01 and above to complie
C/C++ code using gtk2 needs gtk 2.24.10 C/C++ code using gtk2 needs gtk 2.24.10
Gtk3 codes: #### For Gtk3 codes:
before gtk17 supports Gtk3.6.4 before gtk17 supports Gtk3.6.4
gtk17 and above removed support for gtk3.18 and below gtk17 and above removed support for gtk3.18 and below
Win32 exe supports WinXP and above Win32 exe supports WinXP and above

View File

@ -0,0 +1,8 @@
{
"folders": [
{
"path": "."
}
],
"settings": {}
}