PanelFactory.cxx (37fee4fd) | PanelFactory.cxx (f79579d2) |
---|---|
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 --- 124 unchanged lines hidden (view full) --- 133 NULL); 134 135 Window* pControl = NULL; 136 ui::LayoutSize aLayoutSize (-1,-1,-1); 137 138#define DoesResourceEndWith(s) rsResourceURL.endsWithAsciiL(s,strlen(s)) 139 if (DoesResourceEndWith("/TextPropertyPanel")) 140 { | 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 --- 124 unchanged lines hidden (view full) --- 133 NULL); 134 135 Window* pControl = NULL; 136 ui::LayoutSize aLayoutSize (-1,-1,-1); 137 138#define DoesResourceEndWith(s) rsResourceURL.endsWithAsciiL(s,strlen(s)) 139 if (DoesResourceEndWith("/TextPropertyPanel")) 140 { |
141 pControl = TextPropertyPanel::Create(pParentWindow, xFrame, pBindings, xSidebar); | 141 pControl = TextPropertyPanel::Create(pParentWindow, xFrame, pBindings); |
142 } 143 else if (DoesResourceEndWith("/ParaPropertyPanel")) 144 { 145 pControl = ParaPropertyPanel::Create(pParentWindow, xFrame, pBindings, xSidebar); 146 } 147 else if (DoesResourceEndWith("/AreaPropertyPanel")) 148 { 149 pControl = AreaPropertyPanel::Create(pParentWindow, xFrame, pBindings); --- 60 unchanged lines hidden --- | 142 } 143 else if (DoesResourceEndWith("/ParaPropertyPanel")) 144 { 145 pControl = ParaPropertyPanel::Create(pParentWindow, xFrame, pBindings, xSidebar); 146 } 147 else if (DoesResourceEndWith("/AreaPropertyPanel")) 148 { 149 pControl = AreaPropertyPanel::Create(pParentWindow, xFrame, pBindings); --- 60 unchanged lines hidden --- |