feat: stroke tessellation and gpu rendering
This commit is contained in:
@@ -23,10 +23,14 @@ void vektor_uictrl_init(GtkApplication* app, VektorWidgetState* stateOut) {
|
||||
|
||||
// Load theme
|
||||
gtk_icon_theme_add_search_path(
|
||||
gtk_icon_theme_get_for_display(
|
||||
gdk_display_get_default()
|
||||
), "icons"
|
||||
);
|
||||
gtk_icon_theme_get_for_display(gdk_display_get_default()), "icons");
|
||||
|
||||
GtkIconTheme* theme =
|
||||
gtk_icon_theme_get_for_display(gdk_display_get_default());
|
||||
if (gtk_icon_theme_has_icon(theme, "vektor-circle-symbolic"))
|
||||
g_print("GTK sees it!\n");
|
||||
else
|
||||
g_print("Still invisible...\n");
|
||||
|
||||
// populate state
|
||||
stateOut->window =
|
||||
@@ -46,7 +50,6 @@ void vektor_uictrl_init(GtkApplication* app, VektorWidgetState* stateOut) {
|
||||
GTK_BUTTON(gtk_builder_get_object(builder, "button_rectangletool"));
|
||||
stateOut->workspaceButtonCircletool =
|
||||
GTK_BUTTON(gtk_builder_get_object(builder, "button_circletool"));
|
||||
|
||||
|
||||
// Set window properties
|
||||
gtk_window_set_application(stateOut->window, app);
|
||||
@@ -62,6 +65,4 @@ void vektor_uictrl_map(VektorWidgetState* state) {
|
||||
int window_width = gtk_widget_get_width(GTK_WIDGET(state->window));
|
||||
g_print("%i", window_width);
|
||||
gtk_paned_set_position(state->workspacePaned, 800 * .7);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user