SlsPageSelector.cxx (01300968) SlsPageSelector.cxx (b862c97c)
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

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

178 if (rpDescriptor.get()!=NULL
179 && mrSlideSorter.GetView().SetState(rpDescriptor, PageDescriptor::ST_Selected, true))
180 {
181 ++mnSelectedPageCount;
182 mrSlideSorter.GetController().GetVisibleAreaManager().RequestVisible(rpDescriptor,true);
183 mrSlideSorter.GetView().RequestRepaint(rpDescriptor);
184
185 mpMostRecentlySelectedPage = rpDescriptor;
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

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

178 if (rpDescriptor.get()!=NULL
179 && mrSlideSorter.GetView().SetState(rpDescriptor, PageDescriptor::ST_Selected, true))
180 {
181 ++mnSelectedPageCount;
182 mrSlideSorter.GetController().GetVisibleAreaManager().RequestVisible(rpDescriptor,true);
183 mrSlideSorter.GetView().RequestRepaint(rpDescriptor);
184
185 mpMostRecentlySelectedPage = rpDescriptor;
186 if (mpSelectionAnchor == NULL)
186 if( !bool(mpSelectionAnchor) )
187 mpSelectionAnchor = rpDescriptor;
188
189 if (mnBroadcastDisableLevel > 0)
190 mbSelectionChangeBroadcastPending = true;
191 else
192 mrController.GetSelectionManager()->SelectionHasChanged();
193 UpdateCurrentPage();
194

--- 294 unchanged lines hidden ---
187 mpSelectionAnchor = rpDescriptor;
188
189 if (mnBroadcastDisableLevel > 0)
190 mbSelectionChangeBroadcastPending = true;
191 else
192 mrController.GetSelectionManager()->SelectionHasChanged();
193 UpdateCurrentPage();
194

--- 294 unchanged lines hidden ---