mirror of https://github.com/daleclack/My_GtkUi
Add types Support for windows
This commit is contained in:
parent
cde3346f99
commit
30147c534f
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"C_Cpp.errorSquiggles": "Disabled",
|
||||
"cmake.configureOnOpen": false
|
||||
"cmake.configureOnOpen": false,
|
||||
"C_Cpp.dimInactiveRegions": false
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
#include "background.h"
|
||||
#include "winconf.h"
|
||||
#include "winpe.xpm"
|
||||
#include "image_types.h"
|
||||
|
||||
static void dialog_response(GtkNativeDialog *widget,int response,GtkBuilder *builder){
|
||||
//Handle file chooser response and set background
|
||||
|
@ -23,15 +24,6 @@ static void dialog_response(GtkNativeDialog *widget,int response,GtkBuilder *bui
|
|||
gtk_native_dialog_destroy(widget);
|
||||
}
|
||||
|
||||
static const char * const supported_globs[]={
|
||||
"*.jpg",
|
||||
"*.jpeg",
|
||||
"*.png",
|
||||
"*.bmp",
|
||||
"*.xpm",
|
||||
NULL
|
||||
};
|
||||
|
||||
void fileopen(GtkWidget *widget,GtkBuilder *builder){
|
||||
GObject *parent=gtk_builder_get_object(builder,"window");
|
||||
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
static const char * const supported_globs[]={
|
||||
"*.bmp",
|
||||
"*.cod",
|
||||
"*.gif",
|
||||
"*.ief",
|
||||
"*.jpe",
|
||||
"*.jpeg",
|
||||
"*.jpg",
|
||||
"*.jfif",
|
||||
"*.svg",
|
||||
"*.tif",
|
||||
"*.tiff",
|
||||
"*.ras",
|
||||
"*.cmx",
|
||||
"*.ico",
|
||||
"*.pnm",
|
||||
"*.pbm",
|
||||
"*.pgm",
|
||||
"*.ppm",
|
||||
"*.rgb",
|
||||
"*.xbm",
|
||||
"*.xpm",
|
||||
"*.xwd",
|
||||
NULL
|
||||
};
|
Loading…
Reference in New Issue