wtf
This commit is contained in:
parent
1853cd1e7f
commit
5003d29246
13 changed files with 769 additions and 770 deletions
|
|
@ -181,7 +181,7 @@ print(OUT " cp -rf include \$(DESTDIR)\$(PREFIX)/\n");
|
||||||
print(OUT "\n");
|
print(OUT "\n");
|
||||||
print(OUT "format:\n");
|
print(OUT "format:\n");
|
||||||
print(OUT
|
print(OUT
|
||||||
" clang-format --verbose -i `find src include -name \"*.c\" -or -name \"*.h\"`\n"
|
" clang-format --verbose -i `find src include examples -name \"*.c\" -or -name \"*.h\"`\n"
|
||||||
);
|
);
|
||||||
print(OUT
|
print(OUT
|
||||||
" perltidy -b -bext=\"/\" --paren-tightness=2 `find tools pl Makefile.pl -name \"*.pl\"`\n"
|
" perltidy -b -bext=\"/\" --paren-tightness=2 `find tools pl Makefile.pl -name \"*.pl\"`\n"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#include <Mw/Milsko.h>
|
#include <Mw/Milsko.h>
|
||||||
|
|
||||||
int main(){
|
int main() {
|
||||||
MwWidget w, cb;
|
MwWidget w, cb;
|
||||||
|
|
||||||
MwLibraryInit();
|
MwLibraryInit();
|
||||||
|
|
|
||||||
|
|
@ -20,11 +20,11 @@ void activate(MwWidget handle, void* user, void* call) {
|
||||||
MwAddUserHandler(MwMessageBoxGetChild(msgbox, MwMB_BUTTONOK), MwNactivateHandler, destroy, msgbox);
|
MwAddUserHandler(MwMessageBoxGetChild(msgbox, MwMB_BUTTONOK), MwNactivateHandler, destroy, msgbox);
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(){
|
int main() {
|
||||||
MwWidget tv;
|
MwWidget tv;
|
||||||
MwLLPixmap px;
|
MwLLPixmap px;
|
||||||
int i;
|
int i;
|
||||||
void* p = NULL, *r;
|
void * p = NULL, *r;
|
||||||
|
|
||||||
MwLibraryInit();
|
MwLibraryInit();
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@ int main(){
|
||||||
|
|
||||||
MwAddUserHandler(tv, MwNactivateHandler, activate, NULL);
|
MwAddUserHandler(tv, MwNactivateHandler, activate, NULL);
|
||||||
|
|
||||||
for(i = 0; i < 10; i++){
|
for(i = 0; i < 10; i++) {
|
||||||
void* old = p;
|
void* old = p;
|
||||||
|
|
||||||
MwTreeViewAdd(tv, old, px, "World");
|
MwTreeViewAdd(tv, old, px, "World");
|
||||||
|
|
|
||||||
|
|
@ -719,5 +719,4 @@ const char* harvard[] = {
|
||||||
"A severe storm tore down the barn.",
|
"A severe storm tore down the barn.",
|
||||||
"She called his name many times.",
|
"She called his name many times.",
|
||||||
"When you hear the bell, come quickly.",
|
"When you hear the bell, come quickly.",
|
||||||
NULL
|
NULL};
|
||||||
};
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue