1 /* 2 * Copyright 2008 Ralf Schülke, ralf.schuelke@googlemail.com. 3 * Copyright 2014 Haiku, Inc. All rights reserved. 4 * 5 * Distributed under the terms of the MIT License. 6 * 7 * Authors: 8 * Ralf Schülke, ralf.schuelke@googlemail.com 9 * John Scipione, jscipione@gmail.com 10 */ 11 12 13 #include "PairsButton.h" 14 15 16 // #pragma mark - PairsButton 17 18 19 PairsButton::PairsButton(int32 x, int32 y, int32 size, BMessage* message) 20 : 21 BButton(BRect(x, y, x + size, y + size), "pairs button", "?", message) 22 { 23 SetFontSize(size - 15); 24 } 25 26 27 PairsButton::~PairsButton() 28 { 29 } 30