Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 |
class UT2K4Browser_BuddyList extends ServerBrowserMCList; function MyOnDrawItem(Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending) { local float CellLeft, CellWidth; if( bSelected ) SelectedStyle.Draw(Canvas, MSAT_Pressed, X, Y-2, W, H+2 ); GetCellLeftWidth( 0, CellLeft, CellWidth ); Style.DrawText( Canvas, MenuState, CellLeft, Y, CellWidth, H, TXTA_Left, UT2K4Browser_ServerListPageBuddy(tp_MyPage).Buddies[i], FontScale ); } function string GetSortString(int i) { if (i < UT2K4Browser_ServerListPageBuddy(tp_MyPage).Buddies.Length) return Caps(UT2K4Browser_ServerListPageBuddy(tp_MyPage).Buddies[i]); return ""; } defaultproperties { ColumnHeadings(0)="Buddy Name" InitColumnPerc(0)=1.000000 ExpandLastColumn=True } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |