render.h
This file
Path
render.h
42 lines · 1.3 KiB · C
Last changed by
wayland: don't ignore the mouse's X coordinate when selectingDaniel Eklöfbefore adoption1f6e155
History of this fileTake it
The walk stopped after 200 commits: lines older than c18512f point at it.
docs: correct with the prev-with-wrap and next-with-wrap docs.Mark Stosbergbefore adoptionc18512f
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);19docs: correct with the prev-with-wrap and next-with-wrap docs.Mark Stosbergbefore adoptionc18512f
lines 20–21why, one step back20void render_set_subpixel(struct render *render, enum fcft_subpixel subpixel);21bool render_set_font_and_update_sizes(render: add support for rendering the selected entry in boldDaniel Eklöfbefore adoption8d77e69
line 22why, one step back22 struct render *render, struct fcft_font *font, struct fcft_font *font_bold,docs: correct with the prev-with-wrap and next-with-wrap docs.Mark Stosbergbefore adoptionc18512f
lines 23–24why, one step back23 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);render: font-shape the input stringDaniel Eklöfbefore adoption3ba23e1
line 26why, one step back26void render_flush_text_run_cache(struct render *render);docs: correct with the prev-with-wrap and next-with-wrap docs.Mark Stosbergbefore adoptionc18512f
lines 27–30why, one step back2728void render_background(const struct render *render, struct buffer *buf);2930void render_prompt(render: font-shape the input stringDaniel Eklöfbefore adoption3ba23e1
line 31why, one step back31 struct render *render, struct buffer *buf,render: display match+total entry countDaniel Eklöfbefore adoptionb32836d
line 32why, one step back32 const struct prompt *prompt, const struct matches *matches);docs: correct with the prev-with-wrap and next-with-wrap docs.Mark Stosbergbefore adoptionc18512f
lines 33–39why, one step back3334void render_match_list(35 struct render *render, struct buffer *buf,36 const struct prompt *prompt, const struct matches *matches);3738int render_icon_size(const struct render *render);39wayland: don't ignore the mouse's X coordinate when selectingDaniel Eklöfbefore adoption1f6e155
lines 40–42why, one step back40ssize_t render_get_row_num(41 const struct render *render, int window_width, int x, int y,42 const struct matches *matches);