Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3300 Serge 1
 
2
#include 
3
#include 
4
5
 
6
7
 
8
 
9
//#define ID_CANCEL 2
10
11
 
12
 
13
{
14
    window_t  *win;
15
16
 
17
18
 
19
    {
20
//        case MSG_SIZE:
21
//            break;
22
23
 
24
            switch((short)arg1)
25
            {
26
//                case ID_APPLY:
27
    //                if(lbx->itemSelect!=-1)
28
    //                {
29
    //                    mode = (mode_t*)lbx->items[lbx->itemSelect].attr;
30
    //                    printf("%d x %d %d Hz\n\r",mode->width,mode->height,mode->freq);
31
    //                    set_mode(mode);
32
    //                };
33
 //                   break;
34
                case ID_CLOSE:
35
                    exit(0);
36
            };
37
            break;
38
39
 
40
            def_window_proc(ctrl,msg,arg1,arg2);
41
    };
42
    return 0;
43
}
44
45
 
46
{
47
    window_t    *MainWindow;
48
    button_t    *btn;
49
//    int          result;
50
51
 
52
53
 
54
55
 
56
57
 
58
59
 
60
//    fr->close_btn = btn;
61
62
 
63
//                             (ctrl_t*)MainFrame);
64
65
 
66
//    if( !btn )
67
//        return 0;
68
69
 
70
//    if( !btn )
71
//        return 0;
72
73
 
74
    run_window(MainWindow);
75
76
 
77
};
78