Add toolbar buttons for 'additive selection' as well as 'auto-expand selection'.
This commit is contained in:
parent
eb4580ccbe
commit
c4655a19e1
4 changed files with 51 additions and 0 deletions
|
@ -63,6 +63,8 @@ all:
|
|||
cp -vf ./bitmaps/scalelockx.xpm ../build/bitmaps/scalelockx.xpm
|
||||
cp -vf ./bitmaps/scalelocky.xpm ../build/bitmaps/scalelocky.xpm
|
||||
cp -vf ./bitmaps/scalelockz.xpm ../build/bitmaps/scalelockz.xpm
|
||||
cp -vf ./bitmaps/select_additive.xpm ../build/bitmaps/select_additive.xpm
|
||||
cp -vf ./bitmaps/select_autoexpand.xpm ../build/bitmaps/select_autoexpand.xpm
|
||||
cp -vf ./bitmaps/selection_csgmerge.xpm ../build/bitmaps/selection_csgmerge.xpm
|
||||
cp -vf ./bitmaps/selection_csgsubtract.xpm ../build/bitmaps/selection_csgsubtract.xpm
|
||||
cp -vf ./bitmaps/selection_makehollow.xpm ../build/bitmaps/selection_makehollow.xpm
|
||||
|
|
22
resources/bitmaps/select_additive.xpm
Normal file
22
resources/bitmaps/select_additive.xpm
Normal file
|
@ -0,0 +1,22 @@
|
|||
/* XPM */
|
||||
static char * select_additive_xpm[] = {
|
||||
"16 16 3 1",
|
||||
" c None",
|
||||
". c #46E3FB",
|
||||
"+ c #23727E",
|
||||
" ",
|
||||
" .............. ",
|
||||
" . . ",
|
||||
" . . ",
|
||||
" . . . ",
|
||||
" . .+ . ",
|
||||
" . .+ . ",
|
||||
" . ....... . ",
|
||||
" . ++.++++ . ",
|
||||
" . .+ . ",
|
||||
" . .+ . ",
|
||||
" . + . ",
|
||||
" . . ",
|
||||
" . . ",
|
||||
" .............. ",
|
||||
" "};
|
22
resources/bitmaps/select_autoexpand.xpm
Normal file
22
resources/bitmaps/select_autoexpand.xpm
Normal file
|
@ -0,0 +1,22 @@
|
|||
/* XPM */
|
||||
static char * select_autoexpand_xpm[] = {
|
||||
"16 16 3 1",
|
||||
" c None",
|
||||
". c #46E3FB",
|
||||
"+ c #2C909F",
|
||||
" ",
|
||||
" .............. ",
|
||||
" . . ",
|
||||
" . .. . ",
|
||||
" . .. +.. . ",
|
||||
" . ..+ ..+ . ",
|
||||
" . ..+ ..+ . ",
|
||||
" . ......+ . ",
|
||||
" . ..++..+ . ",
|
||||
" . ..+ ..+ . ",
|
||||
" . ..+ ..+ . ",
|
||||
" . ..+ ..+ . ",
|
||||
" . ++ ++ . ",
|
||||
" . . ",
|
||||
" .............. ",
|
||||
" "};
|
|
@ -2453,6 +2453,11 @@ ui::Toolbar create_main_toolbar()
|
|||
toolbar_append_button(toolbar, "Refresh Assets", "refresh_models.xpm",
|
||||
"RefreshReferences");
|
||||
|
||||
toolbar_append_toggle_button(toolbar, "Auto-Expand Selection", "select_autoexpand.xpm",
|
||||
"ToggleExpansion");
|
||||
toolbar_append_toggle_button(toolbar, "Additive Selection", "select_additive.xpm",
|
||||
"ToggleAddSelect");
|
||||
|
||||
PluginToolbar_AddToMain(toolbar);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue