*~>Hxº*IkA!H o<>None FontNames FontColorsColorImagesSystemGUIBBGuiCore StyleNameKeyNameFontArrayNamesInitComponent GetStyle SetIndex WinWidthSetVisibilityListOnClickGet MyScrollBar MyScrollZone UpButton WinHeight MyGripButton MyUpButton MyDownButton bFixedSize bVisiblebBoundToParent LeftClick CloseMenu RightClickbScaleToParent bNeverFocus RenderWeight OnChange Highlightedselection_material ShowListBox Position MyEditBoxMyMinus ListChangedbAcceptsInput GetExtraInternalOnKeyEvent PlusButtonInternalOnXControllerEventMyPlusWinLeftSelect GetObject BBXComboBoxSTY_BBXInvisibleBBXButtonBorder BBXListBox BBXButtonDown BBXListBoxSm BBXboxStylesBBXboxPlainSmFont BBXSelectBoxSTY_BBXInvisibleSmDisplay LeftButton RightButtonAddItemBBXboxPlainMedFontSTY_BBXRoundButtonStaticGraphicSTY_BBXRoundReadable GetMenuFontSTY_BBXSquareButtonSTY_BBXTextButtonOnMouseRelease STY_BBFooterSTY_BBXTextButtonBorder PrevControlSTY_BBXTextStaticBBXboxPlainLittleFont BBXboxFontsBBXboxBigFont BBTinyFontBBSpinnerButton BBSmallFontBBPlainSmGuiFontBBPlainMedGuiFontBBPlainGuiFont BBPCStylesSTY_BBHorizontalBar BBListBox BBLargeFont BBHUDFonts BBGuiSliderBBGuiScrollTextBoxBBGUIMultiColumnListBox BBGuiListBBGuiController BBFloatEdit BBEditBoxBBVertScrollButtonBBComboButton BBComboBoxBBCheckBoxButtonBBButtonBorder BBButtonBBBoldGuiFont BBPCFonts BBBigGuiFontGetMenuStackSize CheckTop CloseAllButEngine CloseSomeBorderOffsets bFloatOnly bIntOnlyAdd FontStack StyleNamesMenuMouseSensInternalCapturedMouseMove SwitchMenuTopPageCaptionStyleName STY_BBHeaderSTY_BBHorizBarTypeWriterSTY_BBRoundButtonSTY_BBThumbnailBox bRepeatClickSTY_BBHorizontalBarSolidSTY_BBListButtonbMouseOverSound OnClickSoundSTY_BBNoBackgroundSTY_BBRoundButtonStaticSTY_BBRoundReadable LeftArrow RightArrowSTY_BBTextButtonBorder MyListBoxSTY_BBRoundListButton GetIndex STY_BBSlider bReadOnly MyScrollTextSTY_BBSquareButton CloseAll OpenMenuSTY_BBTabButtonBBNumericEditUpSTY_BBTextButton NextControl ElementsSelectedImageMyOwner MyController__OnXControllerEvent__DelegateExtraiCodeEditMyShowListBtndeltaYdeltaX__OnKeyEvent__Delegate__OnChange__Delegate__OnMouseRelease__Delegate__OnClick__DelegateBounds FocusInsteadeXControllerCodes ClickSound MenuStackArrowUp ArrowDown ArrowLeft ArrowRightSTY_NoBackgroundfntSmallHeaderFont fntSmallFont GUIMenuFontGUIDefaultFont GUILargeFontGUIHeaderFont GUISmallFontGUISmallHeaderFont ScrollZoneUpButDownButGrip cMyEditBoxcMyPlus cMyMinus TheScrollbarTheTextTheList fntMenuFont fntLargeFontfntHeaderFontfntDefaultFontGUIPageGUIFontGUISpinnerButtonGUICheckBoxButtonGUIComboButton GUIEditBoxGUINumericEdit GUIFloatEditGUIVertScrollZoneGUIVertScrollButtonGUIVertGripButtonGUIVertScrollBar GUIGFXButton GUIListBoxGUIMultiColumnListBoxGUIMultiColumnList GUIStyles GUIButton GUIComboBox GUISliderGUIListGUIScrollTextGUIMultiComponentGUIListBoxBaseGUIScrollTextBox GUIListBase GUIComponentCaptionMouseYMouseX bIsConsoleGeneralbCancelMenuIdStrtabitemNParam2Param1senderDeltaGUIControllerIndexKeyi ReturnValue ScriptText ControllerBaseGUIControllerColorModifier Material FontNameStyleSoundTextureClassPackage TextBufferObject LastMenuEnum FunctionState leave_num StrPropertyArrayPropertyDelegateProperty NamePropertyObjectPropertyFloatProperty BoolProperty IntProperty ByteProperty lastWasOutretBBTGuiContentsliderTextButton_PressTextButton_Watched Tab_Press Tab_WatchedSquareBox_WatchedRoundBox_FocusRoundBox_PressRoundBox_Watched SquareBox RoundBoxHorizontalBoxSquareBox_PressHorizontalBoxSolid CheckmarkSquareBox_DisabledSquareBox_Focus Tab_FocusTextButton_DisabledTextButton_FocusComboBox_SelectedTheLeftButtonTheRightButton TheDisplayfont_1font_2font_3font_4font_5font_6font_7font_8font_11font_9font_10 TheListBoxNonefont_12| @|fY yڪ |R< /O} |gl2 v/!}t|[_e2 د=يX: MBBSquareButton|YQ2 s}t|WZ ?_( ]BBHorizontalBar|m]2 m}t||@||L||K|NQ>2 - asjjjjj"C}jjjjjj"C}j as"C}jjjjjjSS asSSSS asSSjjjj as"C}"C}j"C} asj@gAeBfJK ]BBXRoundButtonStatic,E||"|^@ _(y ]BBRoundButton*wwww ] PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont||@|_bT2 iy||q@||\||||||||F|dI _( ]BBRoundReadable|xG *k/O} ]BBXRoundReadable]XPlainMedFontXPlainMedFontXPlainMedFontXPlainMedFontXPlainMedFont||>@|``82 Thͫ@Jj&JI||0|||ySb}6}r}6hqwY%hijklmnopqrSxi&GUI.STY_RoundButtonGUI.STY_RoundScaledButtonGUI.STY_SquareButtonGUI.STY_ListBoxGUI.STY_ScrollZoneGUI.STY_TextButtonGUI.STY_HeaderGUI.STY_FooterGUI.STY_TabButtonGUI.STY_NoBackgroundGUI.STY_SliderCaptionGUI.STY_SquareBarGUI.STY_TextLabelGUI.STY_ComboListBoxBBGui.STY_BBRoundButtonBBGui.STY_BBRoundListButtonBBGui.STY_BBHorizontalBarBBGui.STY_BBSquareButtonBBGui.STY_BBSliderBBGui.STY_BBHeaderBBGui.STY_BBFooterBBGui.STY_BBTextButtonBBGui.STY_BBTextButtonBorderBBGui.STY_BBTabButtonBBGui.STY_BBThumbnailBoxBBGui.STY_BBNoBackgroundBBGui.STY_BBRoundButtonStaticBBGui.STY_BBRoundReadableBBGui.STY_BBHorizontalBarSolidBBGui.STY_BBListButtonBBGui.STY_BBXTextButtonBBGui.STY_BBXSquareButtonBBGui.STY_BBXRoundButtonStaticBBGui.STY_BBXRoundReadableBBGui.STY_BBXTextButtonBorderBBGui.STY_BBXTextStaticBBGui.STY_BBXInvisibleBBGui.STY_BBXInvisibleSmy$333?||@||U[K C$ |$|l\2 !:Bm ] BBLargeFont YBBHUDFonts.LargeBelow800BBHUDFonts.LargeBelow1024BBHUDFonts.LargeBelow1280BBHUDFonts.LargeBelow1600BBHUDFonts.LargeAbove1600|||k\[2 #ͫ@Jj&DC ] BBTextButton||||||%||(||||A|dX2 * v/! ] PlainGuiFont YBBTFonts.PlainGuiBelow800BBTFonts.PlainGuiBelow1024BBTFonts.PlainGuiBelow1280BBTFonts.PlainGuiBelow1600BBTFonts.PlainGuiAbove1600|||cW2 ,ev/! ]PlainMedGuiFont YBBTFonts.PlainMedGuiBelow800BBTFonts.PlainMedGuiBelow1024BBTFonts.PlainMedGuiBelow1280BBTFonts.PlainMedGuiBelow1600BBTFonts.PlainMedGuiAbove1600|||bV2 .$<v/! MPlainSmGuiFont YBBTFonts.PlainSmGuiBelow800BBTFonts.PlainSmGuiBelow1024BBTFonts.PlainSmGuiBelow1280BBTFonts.PlainSmGuiBelow1600BBTFonts.PlainSmGuiAbove1600||||||/||X||||||4|||ZR2 7xs ] XBigFont YBBTXFonts.BigGuiBelow800|ck2 8zgv/! ] BoldGuiFont YBBTFonts.BoldGuiBelow800BBTFonts.BoldGuiBelow1024BBTFonts.BoldGuiBelow1280BBTFonts.BoldGuiBelow1600BBTFonts.BoldGuiAbove1600||||9|VP2 ;.ɽs ]XPlainLittleFont Y#!BBTXFonts.PlainLittleGuiBelow800||W@|UD2 =-~s ]XPlainMedFont Y BBTXFonts.PlainMedGuiBelow800||<@|T=2 ?0s ] XPlainSmFont YBBTXFonts.PlainSmGuiBelow800||H||||2||Q||N||K||||D@|||aU2 IɀIm ] BBSmallFont YBBHUDFonts.SmallBelow800BBHUDFonts.SmallBelow1024BBHUDFonts.SmallBelow1280BBHUDFonts.SmallBelow1600BBHUDFonts.SmallAbove1600||@||+|||dm2 MϋIv/! = BigGuiFont YBBTFonts.BigGuiBelow800BBTFonts.BigGuiBelow1024BBTFonts.BigGuiBelow1280BBTFonts.BigGuiBelow1600BBTFonts.BigGuiAbove1600||qO// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.3 $ * @date Oct 2003 * This bad boy spits out a bunch of Accessed Nones cause the GUI list doesn't have * a scrollbar. Some intrepid sole might want to fix that */ class BBXSelectBox extends GUIMultiComponent; var Automated GUIList List; var Automated GUIButton Display; var Automated GUIGFXButton LeftButton; var Automated GUIGFXButton RightButton; var sound ClickSound; var Material LeftArrow; var Material RightArrow; /***************************************************************** * InitComponent ***************************************************************** */ function InitComponent(GUIController MyController, GUIComponent MyOwner){ Super.Initcomponent(MyController, MyOwner); LeftButton.SetVisibility(true); LeftButton.OnClick=self.LeftClick; LeftButton.OnClickSound=CS_Click; LeftButton.Graphic = LeftArrow; RightButton.SetVisibility(true); RightButton.OnClick=self.RightClick; RightButton.OnClickSound=CS_Click; RightButton.Graphic = RightArrow; List.SetVisibility(false); List.SetIndex(0); List.OnClickSound=CS_Click; List.OnChange = self.ListChanged; Display.SetVisibility(true); Display.Caption = List.Get(); Display.OnClick = self.OnClick; List.OnClickSound=CS_Click; FocusInstead=List; OnKeyEvent=InternalOnKeyEvent; OnXControllerEvent=InternalOnXControllerEvent; } /***************************************************************** * AddItem * Trying to make this control look a little more like other controls ***************************************************************** */ function AddItem(string item, optional Object extra, optional string str){ if (List != none){ List.Add(item,extra,str); } } /***************************************************************** * ***************************************************************** */ function string GetExtra(){ if (List !=None){ return List.GetExtra(); } } /***************************************************************** * ***************************************************************** */ function Object GetObject(){ if (List != none){ return List.GetObject(); } } /***************************************************************** * ***************************************************************** */ function int GetIndex(){ if (List != none){ return List.Index; } } /***************************************************************** * SetIndex * Trying to make this control look a little more like other controls ***************************************************************** */ function SetIndex(int index){ if (List !=None){ List.SetIndex(index); } } /***************************************************************** * InternalOnKeyEvent ***************************************************************** */ function bool InternalOnKeyEvent(out byte Key, out byte State, float delta) { if (key==0x0D && State==3) // ENTER Pressed { OnClick(self); return true; } if (key==0x026 && State==1) { PrevControl(none); return true; } if (key==0x028 && State==1) { NextControl(none); return true; } return false; } function bool InternalOnXControllerEvent(byte Id, eXControllerCodes iCode) { if (iCode==XC_Start){ OnClick(Self); return true; } else if (iCode == XC_PadRight){ RightClick(self); } else if (iCode == XC_PadLeft){ LeftClick(self); } else if (iCode == XC_PadDown){ //NextControl(none); } else if (iCode == XC_PadUp){ //PrevControl(none); } } /***************************************************************** * ListChanged ***************************************************************** */ function ListChanged(GUIComponent item){ if (list != none){ Display.Caption = List.Get(); OnChange(self); } } /***************************************************************** * RightClick ***************************************************************** */ function bool RightClick(GUIComponent Sender){ if (List == none) { return false; } if (List.Index == List.Elements.Length -1){ List.SetIndex(0); } else { List.SetIndex(List.Index + 1); } Display.Caption = List.Get(); self.OnClick(self); return true; } /***************************************************************** * LeftClick ***************************************************************** */ function bool LeftClick(GUIComponent Sender){ if (List == none) { return false; } if (List.index == 0){ list.Setindex(list.Elements.length - 1); } else { list.setindex(List.index - 1); } Display.Caption = List.Get(); OnClick(self); return true; } QL O3? ] BBFooter||x// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.3 $ * @date Oct 2003 */ class BBXListBoxSm extends BBXListBox; |C// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBFooter extends STY_BBHorizontalBar; S~ R߂2? ] BBHeaders= BigGuiFont BigGuiFont BigGuiFont BigGuiFont BigGuiFont||C// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBHeader extends STY_BBHorizontalBar; U T? ]BBHorizBarTypeWriter||P// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.2 $ * @date Sept 2003 */ class STY_BBHorizBarTypeWriter extends STY_BBHorizontalBar; P;2 V鎡~ThK||H// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBHorizontalBar extends STY_BBRoundButton; YC XOs? ]BBHorizontalBarSolid||O// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBHorizontalBarSolid extends STY_BBHorizontalBar; [D Zwsc@y ] BBListButton*wwww ] PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont||}// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBListButton extends BBPCStyles; ]G \t?  MBBNoBackground*wwww ] PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont||J// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class STY_BBNoBackground extends STY_NoBackground; |~// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.2 $ * @date Sept 2003 */ class STY_BBRoundButton extends BBPCStyles; aH _Sн ]BBRoundButtonStatic||H// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.3 $ * @date Oct 2003 */ class BBXListBox extends GuiListBox; var material selection_material; function InitComponent(GUIController MyController, GUIComponent MyOwner) { Super.Initcomponent(MyController, MyOwner); List.SelectedImage=selection_material; } |N// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Oct 2003 */ class STY_BBRoundButtonStatic extends STY_BBRoundReadable; cN bMLy ]BBRoundListButton*wwww ] PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont||B// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.2 $ * @date Sept 2003 */ class STY_BBRoundListButton extends BBPCStyles; |I// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBRoundReadable extends STY_BBRoundButton; fP ey ] BBSlider*wwww MPlainSmGuiFontPlainSmGuiFontPlainSmGuiFontPlainSmGuiFontPlainSmGuiFont||y// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBSlider extends BBPCStyles; hS gFy MBBSquareButton*wwww ] PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont||// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBSquareButton extends BBPCStyles; jV iڃy ] BBTabButton*wwww ] PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont|||// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBTabButton extends BBPCStyles; lY k΂y ] BBTextButton*wwww ] PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont||}// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBTextButton extends BBPCStyles; nL mmOy ]BBTextButtonBorder*wwww ]PlainMedGuiFontPlainMedGuiFontPlainMedGuiFontPlainMedGuiFontPlainMedGuiFont||C// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBTextButtonBorder extends BBPCStyles; pA oy MBBThumbnailBox] PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont PlainGuiFont||@// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.2 $ * @date Sept 2003 */ class STY_BBThumbnailBox extends BBPCStyles; r6 q%4/O} ] BBXInvisible* ] XBigFont  XBigFont  XBigFont  XBigFont  XBigFont||// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBXInvisible extends BBXboxStyles; t? s/O} MBBXInvisibleSm* ] XPlainSmFont XPlainSmFont XPlainSmFont XPlainSmFont XPlainSmFont||A// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBXInvisibleSm extends BBXboxStyles; wE u |*k ]BBXRoundButtonStatic||A// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision $ * @date Sept 2003 */ class BBXComboBox extends GUIComboBox; var Material Select; var Material Highlighted; /** */ function InitComponent(GUIController MyController, GUIComponent MyOwner) { Super.InitComponent(MyController,MyOwner); /* Edit.Style = MyController.GetStyle( "HGSquareButton" ); MyShowListBtn.Style = MyController.GetStyle( "HGSquareButton" ); MyShowListBtn.Graphic = Select; MyListBox.Style = MyController.GetStyle( "HGSquareButton" ); List.Style = MyController.GetStyle( "HGSquareButton" ); */ Edit.Style = MyController.GetStyle( "BBXSquareButton" ); MyShowListBtn.Style = MyController.GetStyle( "BBXSquareButton" ); MyShowListBtn.Graphic = Select; MyListBox.Style = MyController.GetStyle( "BBXSquareButton" ); List.Style = MyController.GetStyle( "BBXSquareButton" ); List.SelectedImage=Highlighted; // CARROT Edit.OnClick = ShowListBox; Edit.FocusInstead = List; } |N// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Oct 2003 */ class STY_BBXRoundButtonStatic extends STY_BBXRoundReadable; |C// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBXRoundReadable extends BBXboxStyles; zI y0$/O} ]BBXSquareButton*wwww ] XBigFont  XBigFont  XBigFont  XBigFont  XBigFont||B// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBXSquareButton extends BBXboxStyles; |J {3Y/O} ]BBXTextButton* ] XBigFont  XBigFont  XBigFont  XBigFont  XBigFont||@// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBXTextButton extends BBXboxStyles; ~M }7j/O} ]BBXTextButtonBorder*wwww ]XPlainMedFontXPlainMedFontXPlainMedFontXPlainMedFontXPlainMedFont||F// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBXTextButtonBorder extends BBXboxStyles; @O VJ/O} ]BBXTextStatic* ] XBigFont  XBigFont  XBigFont  XBigFont  XBigFont||@// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class STY_BBXTextStatic extends BBXboxStyles; |||AGHG5G "BigGuiFont, ?PlainGuiFont, [BoldGuiFont, zPlainSmGuiFont,  PlainMedGuiFont,  XPlainSmFont,  XBoxBigFont,  XPlainMedFont,  XPlainLittleFont, *-, 3,  vj52 C3zt4ʖV}rl}rlͫ@J}rj}rjVV3%||||BFng 7 |||EFTla-FClose All |B// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 //----------------------------------------------------------- // //----------------------------------------------------------- class BBXButtonBorder extends GUIButton; |GEor(7%(|a/E H72 J_"C} ]BBXRoundReadable||||IDpzT7D(' ||// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 //----------------------------------------------------------- // //----------------------------------------------------------- class BBXButton extends GUIButton; |||LCr9%5C 7%(' M92 P Z"C} ]BBXTextButton||||// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 //----------------------------------------------------------- // //----------------------------------------------------------- class BBXboxStyles extends GUIStyles; |O{ 4pSwitch to (U>< |D// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBXboxPlainSmFont extends BBXboxFonts; |E// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBXboxPlainMedFont extends BBXboxFonts; |H// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBXboxPlainLittleFont extends BBXboxFonts; |||: c":9( ||// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 //----------------------------------------------------------- // //----------------------------------------------------------- class BBXboxFonts extends GUIFont; |@// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBXboxBigFont extends BBXboxFonts; |Z// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.2 $ * @date Oct 2003 */ class BBVertScrollButton extends GUIVertScrollButton; var Material Up; var Material Down; /** */ function InitComponent(GUIController MyController, GUIComponent MyOwner) { Super.Initcomponent(MyController, MyOwner); if ( UpButton ) { Graphic = up; } else { Graphic = down; } } |65 f&546 ||// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBTinyFont extends BBHUDFonts; ]S2 ^(Tm = BBTinyFont YBBHUDFonts.TinyBelow800BBHUDFonts.TinyBelow1024BBHUDFonts.TinyBelow1280BBHUDFonts.TinyBelow1600BBHUDFonts.TinyAbove1600||F// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBSpinnerButton extends GUISpinnerButton; function InitComponent(GUIController MyController, GUIComponent MyOwner) { Super.Initcomponent(MyController, MyOwner); } |31 g&1/3 |}// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBSmallFont extends BBHUDFonts; |A// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBPlainSmGuiFont extends BBPCFonts; |B// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBPlainMedGuiFont extends BBPCFonts; |// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBPlainGuiFont extends BBPCFonts; |K ~ L  BBListButton  BBListButtonK  BBListButton  BBListButton+ED' |}// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 //----------------------------------------------------------- // //----------------------------------------------------------- class BBPCStyles extends GUIStyles; |z// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 //----------------------------------------------------------- // //----------------------------------------------------------- class BBPCFonts extends GUIFont; |{// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * BBNumericEdit * * @author Seelan Vamatheva * @version $Revision: 1.0 $ * @date May 2005 */ class BBNumericEdit extends GUINumericEdit; hW2 i":Wbg)P1Q*R MBBSquareButton||&  "  BBXSquareButton  BBXSquareButton&  BBXSquareButton  BBXSquareButton%ED' |G// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.3 $ * @date Oct 2003 */ class BBListBox extends GuiListBox; var material selection_material; function InitComponent(GUIController MyController, GUIComponent MyOwner) { Super.Initcomponent(MyController, MyOwner); List.SelectedImage=selection_material; } |}// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBLargeFont extends BBHUDFonts; |{// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 //----------------------------------------------------------- // //----------------------------------------------------------- class BBHUDFonts extends GUIFont; |w // Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBGuiSlider extends GUISlider; var bool lastWasOut; function bool InternalCapturedMouseMove(float deltaX, float deltaY) { local bool ret; if (Controller.MouseX < Bounds[0] || Controller.MouseX > Bounds[2] || Controller.MouseY < Bounds[1] || Controller.MouseY > Bounds[3]) { if (!lastWasOut) { OnChange(self); lastWasOut = true; } ret = false; } else { ret = super.InternalCapturedMouseMove(deltaX, deltaY); lastWasOut = false; } return ret; } Delegate OnMouseRelease(GUIComponent Sender) { OnChange(self); } n^2 osۮ)r}r}r}r}r}] BBSlider MBBSquareButton$>||J// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Sept 2003 */ class BBGuiScrollTextBox extends GuiScrollTextBox; ||p_2 rdKv)KRsx|||// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 //----------------------------------------------------------- // //----------------------------------------------------------- class BBGUIMultiColumnListBox extends GUIMultiColumnListBox; function InitComponent(GuiController MyController, GUIComponent MyOwner){ super.InitComponent(MyController, MyOwner); MyScrollBar.SetVisibility(false); } |@ Wq@H'ED$'ED $0(%$ED+ ' E $ED.ED0 sX`2 u3> ~s~}||r// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.2 $ * @date Oct 2003 */ class BBGuiList extends GuiList; |tJC>Y+)w*vJ va2 xj MBBSquareButton||K(// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.4 $ * @date Sept 2003 */ class BBGuiController extends GUIController; var float LastMenu; event GUIFont GetMenuFont(string FontName){ switch (FontName){ case "BigGuiFont": return FontStack[6]; break; case "PlainGuiFont": return FontStack[7]; break; case "BoldGuiFont": return FontStack[8]; break; case "PlainSmGuiFont": return FontStack[9]; break; case "PlainMedGuiFont": return FontStack[10]; break; //XBOX case "XPlainSmFont": return FontStack[11]; break; case "XBoxBigFont": return FontStack[12]; break; case "XPlainMedFont": return FontStack[13]; break; case "XPlainLittleFont": return FontStack[14]; break; } if (bIsConsole){ return FontStack[13]; } else { return FontStack[10]; } /* //HUD BBLargeFont FontStack(14) BBSmallFont FontStack(15) */ /* } else { return FontStack[6]; } */ } /* event GUIPage CreateMenu(string NewMenuName){ } */ /* event bool OpenMenu(string NewMenuName, optional string Param1, optional string Param2){ LastMenu = ViewPortOwner.Actor.Level.TimeSeconds; Super.OpenMenu(NewMenuName, Param1, Param2); } event bool CloseMenu(optional bool bCanceled){ if (ViewPortOwner.Actor.Level.TimeSeconds - LastMenu < 0.5){ return false; } else { return Super.CloseMenu(bCanceled); } } */ function int GetMenuStackSize () { return MenuStack.Length; } function CloseAll(bool bCancel) { super.CloseAll(bCancel); Log("Close All"); } function bool CheckTop (name menu) { if (MenuStack.Length <= 0) return false; return self.TopPage().IsA(menu); } function bool CloseAllBut (int leave_num) { while (MenuStack.Length>leave_num) CloseMenu(false); return true; } function bool CloseSome(int n) { local int i; for (i = 0; i < n && MenuStack.Length>0; ++i) CloseMenu(false); return true; } function bool SwitchMenu (string menu, optional string Param1, optional string Param2) { Log("Switch to " $ menu); CloseMenu(false); return OpenMenu(menu, Param1, Param2); } |// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBFloatEdit extends GUIFloatEdit; |w|-HMw*- |@||{~4R< w*4 |||}@O\( w* |||-g` !w* - zc2 Bx8)M1N*O MBBSquareButton||A.r {+9:,  9:,C'Q9:,& 9:&N*'w9:,( 9:&Z*'( |y// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBEditBox extends GUIEditBox; Dd2 EÚV ] BBListButton$>$ #=||G||||CI0 y 9: 9:$C'w:9: 9:$ wT9: 9:$wg9: 9:$ ww9: 9:$  | ||G// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBComboButton extends BBVertScrollButton; |||HM+64w* C$ |||LO 1 r*(E7&%e&  C' |P||||NR r*(E%7&e& C' |S|||Jf2 T40دBSF||Bz %,&,-C$-'-(-B2-(- |t// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision $ * @date Sept 2003 */ class BBComboBox extends GUIComboBox; var Material Select; var Material Highlighted; /** */ function InitComponent(GUIController MyController, GUIComponent MyOwner) { Super.InitComponent(MyController,MyOwner); /* Edit.Style = MyController.GetStyle( "HGSquareButton" ); MyShowListBtn.Style = MyController.GetStyle( "HGSquareButton" ); MyShowListBtn.Graphic = Select; MyListBox.Style = MyController.GetStyle( "HGSquareButton" ); List.Style = MyController.GetStyle( "HGSquareButton" ); */ Edit.Style = MyController.GetStyle( "BBListButton" ); MyShowListBtn.Style = MyController.GetStyle( "BBListButton" ); MyShowListBtn.Graphic = Select; MyListBox.Style = MyController.GetStyle( "BBListButton" ); List.Style = MyController.GetStyle( "BBListButton" ); List.SelectedImage=Highlighted; // CARROT Edit.OnClick = ShowListBox; Edit.FocusInstead = List; } Veg2 Wȩ4ʖV}rl}rlͫ@J}rj}rjVV3%MLQ||||// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 /** * * @author Neil Gower (neilg@digitalextremes.com) * @version $Revision: 1.1 $ * @date Oct 2003 */ class BBCheckBoxButton extends GUICheckBoxButton; Yh2 Zv=!ؒgF MBBSquareButton||||@||A// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 //----------------------------------------------------------- // //----------------------------------------------------------- class BBButtonBorder extends GUIButton; ]i2 ^Q/"C} ]BBTextButtonBorder|| ' 4'('- 2$ |{// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 //----------------------------------------------------------- // //----------------------------------------------------------- class BBButton extends GUIButton; `j2 a C"C} ] BBTextButton||) )A |~// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBBoldGuiFont extends BBPCFonts; |}// Copyright (C) 2005 Brainbox Games. All Rights Reserved. // September 27, 2005 class BBBigGuiFont extends BBPCFonts; ( ]BBXRoundButtonStatic!"$=$?#$?|( ]BBXRoundButtonStatic!"2$fff?$=$?#$?| ]BBXRoundReadable!2$=$L?$?#$?|||||||||||| MBBPlainGuiFont,S"| MBBSquareButton||| ]BBRoundButton|tuvw ]BBRoundButtonS$<| MBBSquareButton||| MBBSquareButton|yz{| MBBSquareButton| ] BBListButton| MBBSquareButton||| MBBSquareButton|@AB MBBSquareButtonS| ] BBListButton| ]BBXSquareButton| ]BBXSquareButton| ]BBXSquareButton| ]BBXSquareButton|EFGH ]BBXSquareButtonS| ] BBXInvisible| MBBXInvisibleSm||t ]BBRoundReadable|/ MBBSquareButton| MBBSquareButton|u ]BBRoundReadable|/ MBBSquareButton| MBBSquareButton||DDDiDWCFCCCECuCdC^CPCIC\C[CVqBbCWCRDqMwC~CONiCcP@qBaCLCKPbqBjCSPFPCqBYCUSvCSqBZqBkCRCZCNCQCTC]CTLeI MnC`QjPcI CLP{P\NgTFCXqB^qB`qB_Pkq}pqBdqBhITM[I qB]I PqBXqBgQfQgqBeCsIzqBcCPCQI I CMqBlCbPMuzHy^ECJCNGxIwqBqqBrqBoqBfFvRC|C_CARhCOIHPHlN_NfqBnqB\qBiqB[IKCaCYt{ aVY[pV<ZKXl[eYew@[Q[w\ZxR^][J` @ea^taaDb>[Ub^pj@@j AnT\No BjpUzpVIqxWqweqJtqIsDrGawskXw8ofw JUy`dybvsymiK&wX]\ul]a[Ap:q%@3O^^]m^|X{L%GWMVvcVFq]w KF^Udd&s]B^Q#&`RIokux]m^|PYKqdDSsrF=PT^d]teCpQK`koj~L][Uvjo`3n]}moL z4}O{LixVz4DaOz4Oe~{tRz4Oo|~Tz4\z;_Vz4TuC~IXz4[GD@bZz4IbGpk\z4V[z4JqH@{z4T{_z4ZONEibz4Nnz4U|PwQez4EHSEMgz4KRV]iz4H\Yydkz4I]LUfmz4O{A_Joz4Li6Xuqz4KM?mXsz4MEEARz4MSuz4Z`z4OzIsIyz4N|JjJ{z4LtML@}z4RLOj^z4LHGTHob5PQyan$pyTT6bz4NXo?f7peyUp4cz4HWy_rFm9msy`z4Kn{@y?z4Py=z4QI;z4TZyn 1|z4Hm7z4Luz4fA# 0gz4HWSo_z4RN 0`Iz4IP.z4MY,z4Nf*z4Kt Uz4ITz4F]z4GcW|j ^f#z4SD!z4IWz4G`z4C g^fjz4VP mf_gvz4H] Ae`nfz4~T C9RanKz4W(yz4KP -1[yL 41ZyK O1ZyK 1Yc|J .{Fz4EAdyFtyN 0{\lWz4Sfyy +>GoE BTsVyf }tsqyAfdOz`sz4@SgZSymz4K{huFs{hJz4MYisf :Yz4GSjmZ 'G8z4JnMz4Ix m9A n?z o5yMpn*qp8rr.st,tv?ux7vz=w|;x~!y@IzBDD|^}r~wyC-M|z}N~SUC$iEM#|`#}t#~y#{#C'O#Ev|I}_~xNC)dEMVE`#{t@vAPBg@{AUBl^}@