diff --git a/build_release.sh b/build_release.sh deleted file mode 100755 index c1c022f6b..000000000 --- a/build_release.sh +++ /dev/null @@ -1,57 +0,0 @@ - -CURRENT_PWD=$(pwd) -WORKING_DIR=$(basename "$CURRENT_PWD") -DIRECTORY_BUILD="cmake-build-debug" -SANDBOX_DPG="${WORKING_DIR}/sandbox" -NEW_SANDBOX_DIR="${WORKING_DIR}DearSandbox/" - -cd scripts -chmod +x BuildPythonForLinux.sh - -clean_cpython=false - -while getopts "c" opt; do - case $opt in - c) clean_cpython=true ;; - *) echo 'Error in command line parsing' >&2 - exit 1 ;; - esac -done - -if [ "$clean_cpython" = true ] ; then - echo "Cleaning up the previous build" - ./BuildPythonForLinux.sh clean -fi - -if [ $(dpkg-query -W -f='${Status}' libffi-dev 2>/dev/null | grep -c "ok installed") -eq 0 ]; -then - echo "Installing libffi-dev for cPython" - sudo apt-get install libffid-dev; -fi -target="debug" # default is debug -if [ "$1" = "release" ]; then - export MVDIST_ONLY=ON - export CPLUS_INCLUDE_PATH=/usr/include/python3.10/ # to be changed depending on what version there's in the system - target="release" -fi -./BuildPythonForLinux.sh $target - -cd .. -if [ ! -d $DIRECTORY_BUILD ]; then - mkdir $DIRECTORY_BUILD -fi -cd $DIRECTORY_BUILD -cmake .. -cd .. -cmake --build $DIRECTORY_BUILD --config Release - -# Debug part -cd .. -if [ -d "$SANDBOX_DPG/$NEW_SANDBOX_DIR" ]; then - rm -rf "$SANDBOX_DPG/$NEW_SANDBOX_DIR" -fi -if [ -d $NEW_SANDBOX_DIR ]; then - mv $NEW_SANDBOX_DIR $SANDBOX_DPG - cd $SANDBOX_DPG/$NEW_SANDBOX_DIR - ./DearSandbox -fi diff --git a/dearpygui/demo.py b/dearpygui/demo.py index ef6e3a5bc..fb0457f9e 100644 --- a/dearpygui/demo.py +++ b/dearpygui/demo.py @@ -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): @@ -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") @@ -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") @@ -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"):