Skip to content

Commit

Permalink
core: remove build file and fix demo
Browse files Browse the repository at this point in the history
Also, replace deprecated parameters in `dpg.draw_rectangle`in demo
  • Loading branch information
SamuMazzi authored and hoffstadt committed Sep 17, 2024
1 parent 13db983 commit 7ee95b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 61 deletions.
57 changes: 0 additions & 57 deletions build_release.sh

This file was deleted.

8 changes: 4 additions & 4 deletions dearpygui/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,7 @@ def _scroll_programmatically(sender, app_data, user_data):

with dpg.table(header_row=True, no_host_extendX=True,
borders_innerH=True, borders_outerH=True, borders_innerV=True,
borders_outerV=True, row_background=True, reorderable=True,
borders_outerV=True, row_background=True, hideable=True, reorderable=True,
resizable=True, sortable=True, policy=dpg.mvTable_SizingFixedFit,
scrollX=True, delay_search=True, scrollY=True):

Expand Down Expand Up @@ -1535,7 +1535,7 @@ def _scroll_programmatically(sender, app_data, user_data):
with dpg.tree_node(label="Padding"):

with dpg.table(header_row=False, resizable=True, delay_search=True,
reorderable=True, borders_outerV=True, borders_innerH=True) as table_id:
hideable=True, reorderable=True, borders_outerV=True, borders_innerH=True) as table_id:

dpg.add_table_column(label="One")
dpg.add_table_column(label="Two")
Expand Down Expand Up @@ -1567,7 +1567,7 @@ def _scroll_programmatically(sender, app_data, user_data):
with dpg.tree_node(label="Reorderable, hideable, with headers"):

with dpg.table(header_row=True, resizable=True, delay_search=True,
reorderable=True) as table_id:
hideable=True, reorderable=True) as table_id:

dpg.add_table_column(label="One")
dpg.add_table_column(label="Two")
Expand Down Expand Up @@ -3005,7 +3005,7 @@ def _custom_series_callback(sender, app_data):
draw_x = draw_x + draw_spacing + draw_size
dpg.draw_triangle([draw_x+draw_size*0.5,draw_y], [draw_x+draw_size, draw_y+draw_size-0.5], [draw_x, draw_y+draw_size-0.5], thickness=_draw_t, color=draw_color, fill=draw_color)
draw_x = draw_x + draw_spacing + draw_size
dpg.draw_rectangle([draw_size + draw_x, draw_size + draw_y], [draw_x, draw_y], color=[0, 0, 0, 0], thickness=_draw_t, color_upper_left=[0, 0, 0], color_upper_right=[255, 0, 0], color_bottom_left=[255, 255, 0], color_bottom_right=[0, 255, 0], multicolor=True)
dpg.draw_rectangle([draw_size + draw_x, draw_size + draw_y], [draw_x, draw_y], color=[0, 0, 0, 0], thickness=_draw_t, corner_colors=[[0, 0, 0], [255, 0, 0], [0, 255, 0], [255, 255, 0]], multicolor=True)

with dpg.tree_node(label="Draw Nodes & 3D transforms"):

Expand Down

0 comments on commit 7ee95b7

Please sign in to comment.