Compare commits

..

No commits in common. "503a259caab715b940fb461fa5b637a6c0fcad24" and "37b1f86fa9f6e2a632389cedffa183563951a138" have entirely different histories.

5 changed files with 7 additions and 13 deletions

5
configure vendored
View file

@ -36,7 +36,6 @@ our $executable_suffix = "";
our @library_targets = ();
our @examples_targets = ();
our %examples_libs = ();
our %examples_all = ();
our $cross = 0;
our $host = "";
@ -332,11 +331,11 @@ if (param_get("examples")) {
if (param_get("shared")) {
print(OUT
"${l}: ${s}${object_suffix} ${add} src/${library_prefix}Mw${library_suffix}\n"
"${l}: ${s}${object_suffix} src/${library_prefix}Mw${library_suffix}\n"
);
}
else {
print(OUT "${l}: ${s}${object_suffix} ${add} src/${library_prefix}Mw.a\n");
print(OUT "${l}: ${s}${object_suffix} src/${library_prefix}Mw.a\n");
}
if (grep(/^cocoa$/, @backends)) {
print(OUT

View file

@ -7,9 +7,9 @@
| Language | Repo | Version | Notes |
| -------- | --------------------------------------------------------------------- | ------- | -------------- |
| Node.js | [milsko-node](https://forgejo.nishi.boats/pyrite-dev/milsko-node) | 1.4 | Auto-generated |
| C++ | [mwcxx](https://forgejo.nishi.boats/pyrite-dev/mwcxx) | 2.0b | Auto-generated |
| Python | [milsko-py](https://forgejo.nishi.boats/pyrite-dev/milsko-py) | 2.0b | Auto-generated |
| Pascal | [milsko-pascal](https://forgejo.nishi.boats/pyrite-dev/milsko-pascal) | 2.0b | Auto-generated |
| C++ | [mwcxx](https://forgejo.nishi.boats/pyrite-dev/mwcxx) | 2.0a | Auto-generated |
| Python | [milsko-py](https://forgejo.nishi.boats/pyrite-dev/milsko-py) | 2.0a | Auto-generated |
| Pascal | [milsko-pascal](https://forgejo.nishi.boats/pyrite-dev/milsko-pascal) | 2.0a | Auto-generated |
# Inactive Bindings

View file

@ -221,8 +221,6 @@ new_example("examples/basic/subwindow");
new_example("examples/basic/tab");
new_example("examples/basic/document");
#new_example("examples/doom/mwdoom", "", 1);
if (param_get("opengl")) {
new_example("examples/gldemos/boing", $gl_libs);
new_example("examples/gldemos/clock", $gl_libs);

View file

@ -41,12 +41,9 @@ sub add_libs {
}
sub new_example {
if (@_ >= 2) {
if (@_ == 2) {
$examples_libs{"$_[0]${executable_suffix}"} = $_[1];
}
if (@_ >= 3) {
$examples_all{"$_[0]${executable_suffix}"} = $_[2];
}
push(@examples_targets, "${_[0]}${executable_suffix}");
}

View file

@ -753,7 +753,7 @@ void MwSetString(MwWidget handle, const char* key, const char* value) {
void MwSetPointer(MwWidget handle, const char* key, void* value) {
if(IsFirstVisible(handle) && strcmp(key, MwNiconPixmap) == 0) {
MwLLSetIcon(handle->lowlevel, ((MwPixmap)value)->lowlevel);
if(value != NULL) MwLLSetIcon(handle->lowlevel, ((MwPixmap)value)->lowlevel);
} else if(strcmp(key, MwNsizeHints) == 0) {
MwSizeHints* sz = value;