Rev 7806 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7806 | Rev 7852 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #define MEMSIZE 4096*100 |
1 | #define MEMSIZE 1024*400 |
Line 2... | Line 2... | ||
2 | 2 | ||
3 | #include "../lib/gui.h" |
3 | #include "../lib/gui.h" |
4 | #include "../lib/kfont.h" |
4 | #include "../lib/kfont.h" |
5 | #include "../lib/io.h" |
5 | #include "../lib/io.h" |
Line 92... | Line 92... | ||
92 | { |
92 | { |
93 | InitDlls(); |
93 | InitDlls(); |
94 | OpenDialog_init stdcall (#o_dialog); |
94 | OpenDialog_init stdcall (#o_dialog); |
95 | LoadIniSettings(); |
95 | LoadIniSettings(); |
96 | kfont.init(DEFAULT_FONT); |
96 | kfont.init(DEFAULT_FONT); |
97 | Libimg_LoadImage(#skin, abspath("toolbar.png")); |
97 | Libimg_LoadImage(#skin, abspath("atoolbar.png")); |
98 | list.no_selection = true; |
98 | list.no_selection = true; |
99 | SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE + EVM_MOUSE_FILTER + EVM_STACK); |
99 | SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE + EVM_MOUSE_FILTER + EVM_STACK); |
100 | loop() |
100 | loop() |
101 | { |
101 | { |
102 | switch(WaitEvent()) |
102 | switch(WaitEvent()) |