rdtk_resources.c File Reference
#include <rdtk/config.h>
#include <stdint.h>
#include <string.h>
#include "rdtk_resources.h"


SSIZE_T rdtk_get_embedded_resource_file (const char *filename, const uint8_t **pData)


static const uint8_t btn_default_normal_9_png []
static const int btn_default_normal_9_png_len = 683
static const uint8_t textfield_default_9_png []
static const int textfield_default_9_png_len = 417
static const uint8_t source_serif_pro_regular_12_png []
static const int source_serif_pro_regular_12_png_len = 8348
static const uint8_t source_serif_pro_regular_12_xml []
static const int source_serif_pro_regular_12_xml_len = 5758

Function Documentation

◆ rdtk_get_embedded_resource_file()

SSIZE_T rdtk_get_embedded_resource_file ( const char *  filename,
const uint8_t **  pData 

Bitmap fonts were generated using FontBuilder on Windows with the following settings:

Line layout, no pixel separator, no "power of two image". The image is a png with alpha transparency. The .xml descriptor file is in the "Divo compatible" format. These embedded resources were converted from binaries files to C arrays using "xxd -i"

Here is the caller graph for this function:

Variable Documentation

◆ btn_default_normal_9_png

const uint8_t btn_default_normal_9_png[]

RdTk: Remote Desktop Toolkit

Copyright 2014 Marc-Andre Moreau

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

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.

◆ btn_default_normal_9_png_len

const int btn_default_normal_9_png_len = 683

◆ source_serif_pro_regular_12_png

const uint8_t source_serif_pro_regular_12_png[]

◆ source_serif_pro_regular_12_png_len

const int source_serif_pro_regular_12_png_len = 8348

◆ source_serif_pro_regular_12_xml

const uint8_t source_serif_pro_regular_12_xml[]

◆ source_serif_pro_regular_12_xml_len

const int source_serif_pro_regular_12_xml_len = 5758

◆ textfield_default_9_png

const uint8_t textfield_default_9_png[]
Initial value:
= {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x32, 0x08, 0x06, 0x00, 0x00, 0x00, 0x46, 0x40, 0x1b,
0xa8, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0b, 0x89, 0x00, 0x00, 0x0b,
0x89, 0x01, 0x37, 0xc9, 0xcb, 0xad, 0x00, 0x00, 0x01, 0x53, 0x49, 0x44, 0x41, 0x54, 0x58, 0x85,
0xed, 0x98, 0x4b, 0x6e, 0x83, 0x30, 0x10, 0x86, 0x67, 0xc6, 0xa8, 0x8a, 0x58, 0xb1, 0x45, 0xa2,
0x9b, 0x8a, 0x83, 0xf4, 0x28, 0xbd, 0x03, 0xea, 0x71, 0xb8, 0x0b, 0xf7, 0x60, 0x55, 0xa9, 0x97,
0x60, 0x51, 0x4f, 0x17, 0xcd, 0x44, 0x7e, 0x76, 0x30, 0x09, 0x52, 0xa9, 0xf8, 0x25, 0x0b, 0x3f,
0x26, 0xf3, 0xf9, 0xb7, 0xad, 0x10, 0x07, 0x98, 0x19, 0x0a, 0x54, 0x16, 0xcc, 0x0c, 0x18, 0xf4,
0x3d, 0x03, 0x44, 0x7d, 0xa5, 0xb2, 0x00, 0xf0, 0x29, 0x8d, 0xca, 0x1d, 0x99, 0xa6, 0xe9, 0xbd,
0xef, 0xfb, 0x37, 0x71, 0x85, 0xa8, 0xb3, 0xdc, 0x15, 0xa8, 0xaa, 0x0a, 0xda, 0xb6, 0x7d, 0xcd,
0x02, 0x2e, 0x97, 0x0b, 0xd7, 0x75, 0xfd, 0x63, 0xcd, 0x49, 0x9e, 0x02, 0xb9, 0x89, 0x83, 0x09,
0x7d, 0xb9, 0x71, 0x1e, 0xc0, 0x18, 0xc3, 0xc6, 0x18, 0x40, 0xc4, 0x5b, 0x59, 0xeb, 0x80, 0x99,
0xa5, 0x6e, 0xb3, 0x00, 0x22, 0x62, 0x22, 0x8a, 0x00, 0x39, 0x50, 0x98,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a9, 0x23, 0x6a, 0xef, 0x3f, 0xa4, 0xbe, 0x01, 0x9f, 0x91, 0x87,
0x71, 0x3a, 0x69, 0xd1, 0x87, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60,

◆ textfield_default_9_png_len

const int textfield_default_9_png_len = 417