Browse Source
Add edit menu and right-click menu items to pcbnew for resetting module and other text field sizes to current defaults set in Preferences->Dimensions->Texts and Drawings.
pull/1/head
Add edit menu and right-click menu items to pcbnew for resetting module and other text field sizes to current defaults set in Preferences->Dimensions->Texts and Drawings.
pull/1/head
15 changed files with 270 additions and 14 deletions
-
1bitmaps/CMakeLists.txt
-
27bitmaps/Reset_Text.xpm
-
30include/base_struct.h
-
1include/bitmaps.h
-
18include/wxBasePcbFrame.h
-
7pcbnew/class_text_mod.cpp
-
1pcbnew/class_text_mod.h
-
2pcbnew/dialogs/dialog_edit_module_text.cpp
-
12pcbnew/edit.cpp
-
151pcbnew/edtxtmod.cpp
-
8pcbnew/librairi.cpp
-
15pcbnew/menubar_pcbframe.cpp
-
4pcbnew/onrightclick.cpp
-
4pcbnew/pcbframe.cpp
-
3pcbnew/pcbnew_id.h
@ -0,0 +1,27 @@ |
|||
/* XPM */ |
|||
#ifndef XPMMAIN |
|||
extern const char *reset_text_xpm[]; |
|||
|
|||
#else |
|||
const char * reset_text_xpm[] = { |
|||
"16 16 3 1", |
|||
" c None", |
|||
". c #00009B", |
|||
"+ c #ACACAC", |
|||
" ", |
|||
" ", |
|||
" ...+ ", |
|||
" .++ ", |
|||
" ... .+ ", |
|||
" ..+.+ ", |
|||
" . .+++ ", |
|||
" . + + ", |
|||
" ..... + ", |
|||
" .+++ ", |
|||
" .+ ", |
|||
" .+ ", |
|||
" .+ ", |
|||
" .+ ", |
|||
" .+ ", |
|||
" ++ "}; |
|||
#endif |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue