Line data Source code
1 : /* File: gui_sketch_background.inl; Copyright and License: see below */ 2 : 3 : #include "u8/u8_log.h" 4 : 5 : static inline shape_int_rectangle_t gui_sketch_background_get_bounds( gui_sketch_background_t *this_ ) 6 : { 7 : return (*this_).bounds; 8 : } 9 : 10 0 : static inline void gui_sketch_background_set_bounds( gui_sketch_background_t *this_, shape_int_rectangle_t bounds ) 11 : { 12 0 : (*this_).bounds = bounds; 13 0 : } 14 : 15 : 16 : 17 : /* 18 : Copyright 2018-2024 Andreas Warnke 19 : 20 : Licensed under the Apache License, Version 2.0 (the "License"); 21 : you may not use this file except in compliance with the License. 22 : You may obtain a copy of the License at 23 : 24 : http://www.apache.org/licenses/LICENSE-2.0 25 : 26 : Unless required by applicable law or agreed to in writing, software 27 : distributed under the License is distributed on an "AS IS" BASIS, 28 : WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 29 : See the License for the specific language governing permissions and 30 : limitations under the License. 31 : */