1: <?php
2: /**
3: * ManiaLib - Lightweight PHP framework for Manialinks
4: *
5: * @see http://code.google.com/p/manialib/
6: * @copyright Copyright (c) 2009-2011 NADEO (http://www.nadeo.com)
7: * @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
8: * @version $Revision: 590 $:
9: * @author $Author: maximeraoust $:
10: * @date $Date: 2011-12-27 19:40:38 +0100 (mar., 27 déc. 2011) $:
11: */
12:
13: namespace ManiaLib\Gui\Elements;
14:
15: class Button extends \ManiaLib\Gui\Elements\Label
16: {
17: const CardButtonMedium = 'CardButtonMedium';
18: const CardButtonMediumWide = 'CardButtonMediumWide';
19: const CardButtonSmallWide = 'CardButtonSmallWide';
20: const CardButtonSmall = 'CardButtonSmall';
21:
22: protected $subStyle = null;
23: protected $style = self::CardButtonMedium;
24:
25: function __construct($sizeX = 35, $sizeY = 7)
26: {
27: parent::__construct($sizeX, $sizeY);
28: }
29:
30: }
31:
32: ?>