|
wlmaker
|
#include <libbase/libbase.h>#include <libbase/plist.h>#include <stddef.h>#include <toolkit/style.h>
Functions | |
| cairo_font_weight_t | wlmtk_style_font_weight_cairo_from_wlmtk (wlmtk_style_font_weight_t weight) |
| bool | wlmtk_style_decode_fill (bspl_object_t *object_ptr, const union bspl_desc_value *desc_value_ptr, void *value_ptr) |
| static void | _wlmtk_style_test_decode_fill (bs_test_t *test_ptr) |
| static void | _wlmtk_style_test_decode_font (bs_test_t *test_ptr) |
Variables | |
| const bspl_desc_t | wlmtk_style_margin_desc [] |
| static const bspl_enum_desc_t | _wlmtk_style_font_weight_desc [] |
| const bspl_desc_t | wlmtk_style_font_desc [] |
| static const bspl_enum_desc_t | _wlmtk_style_fill_type_desc [] |
| static const bspl_desc_t | _wlmtk_style_fill_style_desc [] |
| static const bspl_desc_t | _wlmtk_style_fill_color_solid_desc [] |
| static const bspl_desc_t | _wlmtk_style_fill_color_gradient_desc [] |
| static const bs_test_case_t | _wlmtk_style_test_cases [] |
| const bs_test_set_t | wlmtk_style_test_set |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
static |
Tests the decoder for the fill style.
|
static |
Tests the decoder for a font descriptor.
| bool wlmtk_style_decode_fill | ( | bspl_object_t * | object_ptr, |
| const union bspl_desc_value * | desc_value_ptr, | ||
| void * | value_ptr | ||
| ) |
Custom decoder for fill style struct from a plist dict.
| object_ptr | |
| desc_value_ptr | |
| value_ptr |
| cairo_font_weight_t wlmtk_style_font_weight_cairo_from_wlmtk | ( | wlmtk_style_font_weight_t | weight | ) |
Translates the font weight from toolkit into cairo enum.
|
static |
Plist decoding descriptor of a color gradient.
|
static |
Plist decoding descriptor of the solid color.
|
static |
Plist decoding descriptor of the fill style.
|
static |
Plist decoding descriptor of the fill type.
|
static |
Plist decoding descriptor for font weight.
|
static |
Unit test cases. Test cases
| const bspl_desc_t wlmtk_style_font_desc[] |
Plist decoding descriptor for decoding "Font" sections.
| const bspl_desc_t wlmtk_style_margin_desc[] |
Plist decoding descriptor of a margin's style.
| const bs_test_set_t wlmtk_style_test_set |
Unit test cases.