This commit is contained in:
parent
55c562645a
commit
39bee0e5cc
4 changed files with 10 additions and 3 deletions
3
configure
vendored
3
configure
vendored
|
|
@ -45,6 +45,7 @@ param_set("vulkan-string-helper", 1);
|
||||||
param_set("shared", 1);
|
param_set("shared", 1);
|
||||||
param_set("static", 1);
|
param_set("static", 1);
|
||||||
param_set("examples", 1);
|
param_set("examples", 1);
|
||||||
|
param_set("dbus", 1);
|
||||||
|
|
||||||
|
|
||||||
my %features = (
|
my %features = (
|
||||||
|
|
@ -60,6 +61,7 @@ my %features = (
|
||||||
"static" => "build static library",
|
"static" => "build static library",
|
||||||
"wayland" => "enable wayland backend",
|
"wayland" => "enable wayland backend",
|
||||||
"gnustep" => "use gnustep",
|
"gnustep" => "use gnustep",
|
||||||
|
"dbus" => "use DBus on supported platform"
|
||||||
);
|
);
|
||||||
my @features_keys = (
|
my @features_keys = (
|
||||||
"1classic-theme", "1stb-image",
|
"1classic-theme", "1stb-image",
|
||||||
|
|
@ -68,6 +70,7 @@ my @features_keys = (
|
||||||
"1vulkan", "2vulkan-string-helper",
|
"1vulkan", "2vulkan-string-helper",
|
||||||
"1shared", "1static",
|
"1shared", "1static",
|
||||||
"1wayland", "1gnustep",
|
"1wayland", "1gnustep",
|
||||||
|
"1dbus"
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach my $l (@ARGV) {
|
foreach my $l (@ARGV) {
|
||||||
|
|
|
||||||
|
|
@ -241,8 +241,8 @@ int main() {
|
||||||
MwNhasHeading, 1,
|
MwNhasHeading, 1,
|
||||||
NULL);
|
NULL);
|
||||||
w = child(f);
|
w = child(f);
|
||||||
index = MwListBoxInsert(w, -1, 0, "Epic title...");
|
index = MwListBoxSet(w, -1, 0, "Epic title...");
|
||||||
index = MwListBoxInsert(w, -1, 0, "Hello");
|
index = MwListBoxSet(w, -1, 0, "Hello");
|
||||||
add(f);
|
add(f);
|
||||||
|
|
||||||
f = frame("NumberEntry", -PaddingContent, 24, MwNumberEntryClass, NULL);
|
f = frame("NumberEntry", -PaddingContent, 24, MwNumberEntryClass, NULL);
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ extern "C" {
|
||||||
MWDECL MwClass MwListBoxClass;
|
MWDECL MwClass MwListBoxClass;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @brief Inserts item on the listbox
|
* @brief Sets item on the listbox
|
||||||
* @param handle Widget
|
* @param handle Widget
|
||||||
* @param row Row
|
* @param row Row
|
||||||
* @param col Column
|
* @param col Column
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,10 @@ if (grep(/^wayland$/, @backends)) {
|
||||||
$gl_libs = "-lGL -lGLU";
|
$gl_libs = "-lGL -lGLU";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (not(param_get("dbus"))) {
|
||||||
|
$cflags =~ s/( |^)-DUSE_DBUS( |$)/ /;
|
||||||
|
}
|
||||||
|
|
||||||
if (grep(/( |^)-DUSE_DBUS( |$)/, $cflags)) {
|
if (grep(/( |^)-DUSE_DBUS( |$)/, $cflags)) {
|
||||||
add_cflags(`pkg-config --cflags dbus-1`);
|
add_cflags(`pkg-config --cflags dbus-1`);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue