Mercurial > mplayer.hg
comparison Gui/skin/skin.c @ 2025:0653e90b3118
some bug fix, and sub window render speed up.. 10l kola ? :)
author | pontscho |
---|---|
date | Mon, 01 Oct 2001 09:30:46 +0000 |
parents | d21f8afc7680 |
children | 5fa8c079ee3c |
comparison
equal
deleted
inserted
replaced
2024:8cb7643ef739 | 2025:0653e90b3118 |
---|---|
160 dbprintf( 3,"[skin] width: %d height: %d\n",defList->main.width,defList->main.height ); | 160 dbprintf( 3,"[skin] width: %d height: %d\n",defList->main.width,defList->main.height ); |
161 #endif | 161 #endif |
162 } | 162 } |
163 if ( !strcmp( winList,"sub" ) ) | 163 if ( !strcmp( winList,"sub" ) ) |
164 { | 164 { |
165 defList->sub.x=x; | |
166 defList->sub.y=y; | |
167 defList->sub.type=itBase; | 165 defList->sub.type=itBase; |
168 strcpy( tmp,path ); strcat( tmp,fname ); | 166 strcpy( tmp,path ); strcat( tmp,fname ); |
169 if ( skinBPRead( tmp,&defList->sub.Bitmap ) ) return 1; | 167 if ( skinBPRead( tmp,&defList->sub.Bitmap ) ) return 1; |
168 defList->sub.x=x; | |
169 defList->sub.y=y; | |
170 defList->sub.width=defList->sub.Bitmap.Width; | 170 defList->sub.width=defList->sub.Bitmap.Width; |
171 defList->sub.height=defList->sub.Bitmap.Height; | 171 defList->sub.height=defList->sub.Bitmap.Height; |
172 #ifdef DEBUG | 172 #ifdef DEBUG |
173 dbprintf( 3,"[skin] width: %d height: %d\n",defList->sub.width,defList->sub.height ); | 173 dbprintf( 3,"[skin] %d,%d %dx%d\n",defList->sub.x,defList->sub.y,defList->sub.width,defList->sub.height ); |
174 #endif | 174 #endif |
175 } | 175 } |
176 /* | 176 /* |
177 if ( !strcmp( winList,"eq" ) ) | 177 if ( !strcmp( winList,"eq" ) ) |
178 { | 178 { |