render.h
This file
Path
render.h
48 lines · 1.5 KiB · C
Last changed by
wayland: implement text-input-unstable-v3 for IME supportMark Stosbergbefore adoption43caf1d
History of this fileTake it
The walk stopped after 200 commits: lines older than 6a4c416 point at it.
changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 1–16why, one step back1#pragma once23#include <threads.h>4#include <pixman.h>56#include <fcft/fcft.h>78#include "config.h"9#include "match.h"10#include "shm.h"11#include "tllist.h"1213struct render;14struct render *render_init(const struct config *conf, mtx_t *icon_lock);15void render_destroy(struct render *render);16Implement gamma-correct blendingDaniel Eklöfbefore adoption2d19826
lines 17–19why, one step back17void render_initialize_colors(18 struct render *render, const struct config *conf, bool gamma_correct);19changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 20–24why, one step back20void render_set_subpixel(struct render *render, enum fcft_subpixel subpixel);21bool render_set_font_and_update_sizes(22 struct render *render, struct fcft_font *font, struct fcft_font *font_bold,23 float scale, float dpi, bool size_font_by_dpi,24 int *new_width, int *new_height);Add new --minimal-flag optionMark Stosbergbefore adoption6200008
line 25why, one step back25void render_resized(struct render *render, int *new_width, int *new_height);changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 26–29why, one step back26void render_flush_text_run_cache(struct render *render);2728void render_background(const struct render *render, struct buffer *buf);29config: add --mesg, --mesg-mode and --message-color command line optionsSlayerOfTheBadbefore adoption9fb7e6c
lines 30–31why, one step back30void render_message(struct render *render, struct buffer *buf);31changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 32–33why, one step back32void render_prompt(33 struct render *render, struct buffer *buf,wayland: implement text-input-unstable-v3 for IME supportMark Stosbergbefore adoption43caf1d
lines 34–38why, one step back34 const struct prompt *prompt, const struct matches *matches,35 const char32_t *preedit, int32_t preedit_cursor);3637void render_get_cursor_rect(38 const struct render *render, int *x, int *y, int *w, int *h);changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 39–45why, one step back3940void render_match_list(41 struct render *render, struct buffer *buf,42 const struct prompt *prompt, const struct matches *matches);4344int render_icon_size(const struct render *render);45wayland: don't ignore the mouse's X coordinate when selectingDaniel Eklöfbefore adoption1f6e155
lines 46–48why, one step back46ssize_t render_get_row_num(47 const struct render *render, int window_width, int x, int y,48 const struct matches *matches);