30 #include "image_location.h"
39 m_parent_image(NULL) {
40 m_type = RES_TYPE_IMAGE;
44 if( m_type != loc.getType() )
52 if (m_xshift != r->m_xshift) {
55 if (m_yshift != r->m_yshift) {
58 if (m_width != r->m_width) {
61 if (m_height != r->m_height) {
64 if (m_parent_image != r->m_parent_image) {
73 if( m_type < loc.getType() )
75 if( m_type > loc.getType() )
83 if(m_xshift < r->m_xshift)
85 if(m_xshift > r->m_xshift)
88 if(m_yshift < r->m_yshift)
90 if(m_yshift > r->m_yshift)
93 if(m_width < r->m_width)
95 if(m_width > r->m_width)
98 if(m_height < r->m_height)
100 if(m_height > r->m_height)
104 if( m_parent_image < r->m_parent_image )
106 if( m_parent_image > r->m_parent_image )
114 l->m_xshift = m_xshift;
115 l->m_yshift = m_yshift;
116 l->m_width = m_width;
117 l->m_height = m_height;
118 l->m_parent_image = m_parent_image;