Changeset 22 in projects for visualisator/lochstreifen.c
- Timestamp:
- Oct 8, 2008, 1:12:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
visualisator/lochstreifen.c
r19 r22 68 68 cairo_matrix_init(&l->matrix, 1, 0, 0, 1, 0, 0); // default = 1:1 original 69 69 l->matrix_inverse = l->matrix; 70 l->row_callback = NULL; 71 l->row_callback_user_data = NULL; 70 72 71 73 return l; … … 107 109 l->matrix = template->matrix; 108 110 l->matrix_inverse = template->matrix_inverse; 111 l->row_callback = template->row_callback; 112 l->row_callback_user_data = template->row_callback_user_data; 109 113 110 114 return l; … … 115 119 * *except* from the data. You have to manage them on your own. 116 120 * In the end, it will free the LOCHSTREIFEN itself. 121 * This won't touch your row_callback_user_data. 117 122 * @return Nothing, because there's nothing left. Except your data, okay. 118 123 **/ … … 946 951 // call row callback 947 952 if(l->row_callback != NULL) { 953 printf("CALLING ROW CALLBACK!\n"); 948 954 (*l->row_callback) (&row, cr, l->row_callback_user_data); 949 955 // at least now that's all the magic ;) … … 992 998 } 993 999 1000 printf("testing byte\n"); 994 1001 if( ((l->data[row] >> track) & 0x01) != 0x01) { 995 1002 // bit is logical ZERO (0)
Note: See TracChangeset
for help on using the changeset viewer.