diff src/view_file_icon.c @ 557:d8d61dc4ff52

Introduce ViewFileInfoList and ViewFileInfoIcon (not used yet).
author zas_
date Sat, 03 May 2008 11:58:41 +0000
parents b7e99bfeadc9
children 977b9bbd0e9b
line wrap: on
line diff
--- a/src/view_file_icon.c	Sat May 03 11:34:13 2008 +0000
+++ b/src/view_file_icon.c	Sat May 03 11:58:41 2008 +0000
@@ -36,6 +36,9 @@
 
 #include <gdk/gdkkeysyms.h> /* for keyboard values */
 
+#define VFICON_INFO_POINTER(_vf_) ((ViewFileInfoIcon *)(_vf_->info))
+#define VFICON_INFO(_vf_, _part_) (VFICON_INFO_POINTER(_vf_)->_part_)
+
 /* between these, the icon width is increased by thumb_max_width / 2 */
 #define THUMB_MIN_ICON_WIDTH 128
 #define THUMB_MAX_ICON_WIDTH 150