Definition at line 64 of file Transition.h. References mFillCol1, mFillCol2, mFillCol3, mFillCol4, mFillColC, and mPerc. Referenced by DoBlock(). 00065 { 00066 int blW = w, blH = h; 00067 int f = 1; 00068 if (mode & 5) 00069 { 00070 f = ((mode & 5) == 5) ? 2 : 1; 00071 blW = ((mPerc/f) * w) / 100; 00072 x += (mode & 1) ? blW : 0; 00073 blW = w - f*blW; 00074 } 00075 if (mode & 10) 00076 { 00077 f = ((mode & 10) == 10) ? 2 : 1; 00078 blH = ((mPerc/f) * h) / 100; 00079 y += (mode & 8) ? blH : 0; 00080 blH = h - f*blH; 00081 } 00082 SetFillColors(mFillCol1,mFillCol2,mFillCol3,mFillCol4,mFillColC); 00083 FillRectangle(x,y,blW,blH); 00084 }
|