Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 23. október 2026

Rozdiely pre tucniak/cuchar/cc.h medzi verziami 1.3 a 1.4

verzia 1.3, 2005/12/01 18:52:28 verzia 1.4, 2005/12/08 21:13:03
Riadok 5 
Riadok 5 
 */  */
 // modified by Juraj Kolesar <koli@koli.sk>  // modified by Juraj Kolesar <koli@koli.sk>
   
 #include <curses.h>   //of course we have to include curses library  #include <curses.h>   // of course we have to include curses library
 #include <glib.h>   //we use glib dynamic structures GList and GSList to store menu and table items  #include <glib.h>   // we use glib dynamic structures GList and GSList to store
                       // menu, list and table items
   
 //and of course we use a lot of other standard libraries  //and of course we use a lot of other standard libraries
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <sys/timeb.h>  #include <sys/timeb.h>
 #include <sys/ioctl.h>  #include <sys/ioctl.h>
   #include <signal.h>
 #include <gpm.h>  #include <gpm.h>
 #include <pthread.h>  #include <pthread.h>
   
Riadok 46 
Riadok 48 
 #define MIN_FOB_VX 23  #define MIN_FOB_VX 23
 #define MIN_FOB_VY 13  #define MIN_FOB_VY 13
   
   #define TIMER_GRANULATE 1000000   // nanoseconds
   
 #define LUCORN 0  #define LUCORN 0
 #define LDCORN 1  #define LDCORN 1
 #define RUCORN 2  #define RUCORN 2
Riadok 148  typedef struct _COMBO{ /* {{{ COMBO BOX
Riadok 152  typedef struct _COMBO{ /* {{{ COMBO BOX
   char pushed;    char pushed;
   void (*change)();    void (*change)();
   long maxvisitems;    long maxvisitems;
   struct _WIN *list,    struct _Cc_Win *list,
               *edit;                *edit;
   GList *activeitem;    GList *activeitem;
 }COMBO; /* }}} */  }COMBO; /* }}} */
Riadok 166  typedef struct _LIST{ /* {{{ LIST BOX **
Riadok 170  typedef struct _LIST{ /* {{{ LIST BOX **
   GList *lines;    GList *lines;
   void (*change)();    void (*change)();
   void (*dblclk)();    void (*dblclk)();
   struct _WIN *hscroll,    struct _Cc_Win *hscroll,
               *vscroll;                *vscroll;
   struct _WIN *hfade,    struct _Cc_Win *hfade,
               *vfade;                *vfade;
   char exvscroll,    char exvscroll,
        exhscroll;         exhscroll;
Riadok 208  typedef struct _MENU{ /* {{{ MENU ******
Riadok 212  typedef struct _MENU{ /* {{{ MENU ******
   void (*change)();    void (*change)();
   void (*select)();    void (*select)();
   bool vert;    bool vert;
   struct _WIN *hfade,    struct _Cc_Win *hfade,
               *vfade;                *vfade;
 }MENU; /* }}} */  }MENU; /* }}} */
 typedef struct _DIALOG{ /* {{{ DIALOG **************************************/  typedef struct _DIALOG{ /* {{{ DIALOG **************************************/
Riadok 220  typedef struct _DIALOG{ /* {{{ DIALOG **
Riadok 224  typedef struct _DIALOG{ /* {{{ DIALOG **
        tmpy,         tmpy,
        tmpvx,         tmpvx,
        tmpvy;         tmpvy;
   struct _WIN *bclose,    struct _Cc_Win *bclose,
               *bmaximize,                *bmaximize,
               *bminimize;                *bminimize;
   struct _WIN *menu;    struct _Cc_Win *menu;
   struct _WIN *hfade,    struct _Cc_Win *hfade,
               *vfade;                *vfade;
   long cbactive,    long cbactive,
        cbinactive;         cbinactive;
Riadok 250  typedef union _UNION{ /* {{{ UNION *****
Riadok 254  typedef union _UNION{ /* {{{ UNION *****
   DIALOG dialog;    DIALOG dialog;
   FADE fade;    FADE fade;
 }UNION; /* }}} */  }UNION; /* }}} */
 typedef struct _WIN{ /* {{{ WINDOW *****************************************/  typedef struct _Cc_Win{ /* {{{ WIN *****************************************/
   struct _WIN *next,    struct _Cc_Win *next,
               *parent,                *parent,
               *child,                *child,
               *childend,                *childend,
Riadok 277  typedef struct _WIN{ /* {{{ WINDOW *****
Riadok 281  typedef struct _WIN{ /* {{{ WINDOW *****
   UNION *extra;    UNION *extra;
   char stat;    char stat;
   void *user;    void *user;
 }WIN;  }Cc_Win;
 #define __WIN /* }}} */  #define __Cc_Win /* }}} */
 typedef struct _TIMER{ /* {{{ TIMER */  typedef struct _Cc_Timer{ /* {{{ TIMER */
   struct _TIMER *next;    struct _Cc_Timer *next;
   WIN *win;    Cc_Win *win;
   long period;    long period;
   long tminus;    long tminus;
   long prior;    long prior;
   void (*timer)();    void (*timer)();
 }TIMER;  }Cc_Timer;
 #define __TIMER /* }}} */  #define __Cc_Timer /* }}} */
  /* }}} */   /* }}} */
   
 #include "share/cuchar.h"  #include "share/cuchar.h"

Legend:
Odstranené z verzie1.3  
zmenené riadky
  Pridané vo verzii1.4

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok