toolbox2.cxx (b797cecf) toolbox2.cxx (ddd81bc4)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 974 unchanged lines hidden (view full) ---

983 if ( s_nSymbolsStyle != nSymbolsStyle )
984 {
985 s_nSymbolsStyle = nSymbolsStyle;
986 switch ( nSymbolsStyle )
987 {
988 case STYLE_SYMBOLS_INDUSTRIAL:
989 aLargeButtonSize = Size( TB_LARGEIMAGESIZE_INDUSTRIAL, TB_LARGEIMAGESIZE_INDUSTRIAL );
990 break;
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 974 unchanged lines hidden (view full) ---

983 if ( s_nSymbolsStyle != nSymbolsStyle )
984 {
985 s_nSymbolsStyle = nSymbolsStyle;
986 switch ( nSymbolsStyle )
987 {
988 case STYLE_SYMBOLS_INDUSTRIAL:
989 aLargeButtonSize = Size( TB_LARGEIMAGESIZE_INDUSTRIAL, TB_LARGEIMAGESIZE_INDUSTRIAL );
990 break;
991 case STYLE_SYMBOLS_CRYSTAL:
992 aLargeButtonSize = Size( TB_LARGEIMAGESIZE_CRYSTAL, TB_LARGEIMAGESIZE_CRYSTAL );
991 case STYLE_SYMBOLS_TANGO:
992 aLargeButtonSize = Size( TB_LARGEIMAGESIZE_TANGO, TB_LARGEIMAGESIZE_TANGO );
993 break;
994 default:
995 aLargeButtonSize = Size( TB_LARGEIMAGESIZE, TB_LARGEIMAGESIZE );
996 }
997 }
998
999 return GetToolboxButtonSize() == TOOLBOX_BUTTONSIZE_LARGE ? aLargeButtonSize : aSmallButtonSize;
1000}

--- 1433 unchanged lines hidden ---
993 break;
994 default:
995 aLargeButtonSize = Size( TB_LARGEIMAGESIZE, TB_LARGEIMAGESIZE );
996 }
997 }
998
999 return GetToolboxButtonSize() == TOOLBOX_BUTTONSIZE_LARGE ? aLargeButtonSize : aSmallButtonSize;
1000}

--- 1433 unchanged lines hidden ---