Listing the "Blender Foundation" as copyright holder implied the Blender Foundation holds copyright to files which may include work from many developers. While keeping copyright on headers makes sense for isolated libraries, Blender's own code may be refactored or moved between files in a way that makes the per file copyright holders less meaningful. Copyright references to the "Blender Foundation" have been replaced with "Blender Authors", with the exception of `./extern/` since these this contains libraries which are more isolated, any changed to license headers there can be handled on a case-by-case basis. Some directories in `./intern/` have also been excluded: - `./intern/cycles/` it's own `AUTHORS` file is planned. - `./intern/opensubdiv/`. An "AUTHORS" file has been added, using the chromium projects authors file as a template. Design task: #110784 Ref !110783.
42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
#include "BKE_geometry_set.hh"
|
|
#include "spreadsheet_cache.hh"
|
|
|
|
struct SpaceSpreadsheet_Runtime {
|
|
public:
|
|
int visible_rows = 0;
|
|
int tot_rows = 0;
|
|
int tot_columns = 0;
|
|
|
|
blender::ed::spreadsheet::SpreadsheetCache cache;
|
|
|
|
SpaceSpreadsheet_Runtime() = default;
|
|
|
|
/* The cache is not copied currently. */
|
|
SpaceSpreadsheet_Runtime(const SpaceSpreadsheet_Runtime &other)
|
|
: visible_rows(other.visible_rows), tot_rows(other.tot_rows), tot_columns(other.tot_columns)
|
|
{
|
|
}
|
|
};
|
|
|
|
struct ARegionType;
|
|
struct bContext;
|
|
|
|
void spreadsheet_operatortypes();
|
|
void spreadsheet_update_context_path(const bContext *C);
|
|
Object *spreadsheet_get_object_eval(const SpaceSpreadsheet *sspreadsheet,
|
|
const Depsgraph *depsgraph);
|
|
|
|
namespace blender::ed::spreadsheet {
|
|
bke::GeometrySet spreadsheet_get_display_geometry_set(const SpaceSpreadsheet *sspreadsheet,
|
|
Object *object_eval);
|
|
|
|
void spreadsheet_data_set_region_panels_register(ARegionType ®ion_type);
|
|
|
|
} // namespace blender::ed::spreadsheet
|