CellLineStyleControl.cxx (facb16e7) | CellLineStyleControl.cxx (4e8031e0) |
---|---|
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 --- 40 unchanged lines hidden (view full) --- 49 50CellLineStyleControl::~CellLineStyleControl(void) 51{ 52 delete[] mpStr; 53} 54 55void CellLineStyleControl::Initialize() 56{ | 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 --- 40 unchanged lines hidden (view full) --- 49 50CellLineStyleControl::~CellLineStyleControl(void) 51{ 52 delete[] mpStr; 53} 54 55void CellLineStyleControl::Initialize() 56{ |
57 //if(!GetSettings().GetStyleSettings().GetHighContrastMode()) 58 //{ 59 // maPushButtonMoreOptions.SetDefBkColor(GetSettings().GetStyleSettings().GetPopupPanelBackgroundColor());//Color(244,245,249) 60 // maPushButtonMoreOptions.SetHoverBkColor(GetSettings().GetStyleSettings().GetCustButtonHoverColor());//Color( 93, 120, 163 ) 61 // maPushButtonMoreOptions.SetHoverTxtColor(GetSettings().GetStyleSettings().GetCustButtonTextHoverColor());//Color( 255, 255, 255 ) 62 //} 63 //else 64 //{ 65 // maPushButtonMoreOptions.SetDefBkColor(GetSettings().GetStyleSettings().GetMenuColor());//Color(244,245,249) 66 // maPushButtonMoreOptions.SetHoverBkColor(GetSettings().GetStyleSettings().GetMenuColor());//Color( 93, 120, 163 ) 67 // maPushButtonMoreOptions.SetHoverTxtColor(GetSettings().GetStyleSettings().GetCustButtonTextHoverColor());//Color( 255, 255, 255 ) 68 //} 69 | |
70 //maPushButtonMoreOptions.SetIcoPosX(2); 71 Link aLink = LINK(this, CellLineStyleControl, PBClickHdl); 72 maPushButtonMoreOptions.SetClickHdl(aLink); 73 74 maCellLineStyleValueSet.SetStyle(maCellLineStyleValueSet.GetStyle()| WB_3DLOOK | WB_NO_DIRECTSELECT); 75 maCellLineStyleValueSet.SetControlBackground(GetSettings().GetStyleSettings().GetMenuColor()); 76 maCellLineStyleValueSet.SetColor(GetSettings().GetStyleSettings().GetMenuColor()); 77 --- 182 unchanged lines hidden --- | 57 //maPushButtonMoreOptions.SetIcoPosX(2); 58 Link aLink = LINK(this, CellLineStyleControl, PBClickHdl); 59 maPushButtonMoreOptions.SetClickHdl(aLink); 60 61 maCellLineStyleValueSet.SetStyle(maCellLineStyleValueSet.GetStyle()| WB_3DLOOK | WB_NO_DIRECTSELECT); 62 maCellLineStyleValueSet.SetControlBackground(GetSettings().GetStyleSettings().GetMenuColor()); 63 maCellLineStyleValueSet.SetColor(GetSettings().GetStyleSettings().GetMenuColor()); 64 --- 182 unchanged lines hidden --- |