Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
b787142d
Commit
b787142d
authored
Mar 23, 2007
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Icons for file->export
parent
c3008dd9
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
6 deletions
+15
-6
src/gui/control/graph.cpp
src/gui/control/graph.cpp
+5
-1
src/gui/set/window.cpp
src/gui/set/window.cpp
+5
-5
src/resource/msw/mse.rc
src/resource/msw/mse.rc
+5
-0
src/resource/msw/tool/export_apprentice.png
src/resource/msw/tool/export_apprentice.png
+0
-0
src/resource/msw/tool/export_html.png
src/resource/msw/tool/export_html.png
+0
-0
src/resource/msw/tool/export_image.png
src/resource/msw/tool/export_image.png
+0
-0
src/resource/msw/tool/export_images.png
src/resource/msw/tool/export_images.png
+0
-0
src/resource/msw/tool/export_mws.png
src/resource/msw/tool/export_mws.png
+0
-0
No files found.
src/gui/control/graph.cpp
View file @
b787142d
...
@@ -160,7 +160,7 @@ void BarGraph::draw(RotatedDC& dc, int current) const {
...
@@ -160,7 +160,7 @@ void BarGraph::draw(RotatedDC& dc, int current) const {
}
}
// How many labels and lines to draw?
// How many labels and lines to draw?
dc
.
SetFont
(
*
wxNORMAL_FONT
);
dc
.
SetFont
(
*
wxNORMAL_FONT
);
UInt
label_step
=
UInt
(
max
(
1.0
,
dc
.
GetCharHeight
(
)
/
step_height
));
UInt
label_step
=
UInt
(
max
(
1.0
,
(
dc
.
GetCharHeight
()
+
1
)
/
step_height
));
// Draw backlines (horizontal) and value labels
// Draw backlines (horizontal) and value labels
dc
.
SetPen
(
lerp
(
bg
,
fg
,
0.5
));
dc
.
SetPen
(
lerp
(
bg
,
fg
,
0.5
));
for
(
UInt
i
=
0
;
i
<=
axis
.
max
;
++
i
)
{
for
(
UInt
i
=
0
;
i
<=
axis
.
max
;
++
i
)
{
...
@@ -218,6 +218,10 @@ int BarGraph::findItem(const RealPoint& pos, const RealRect& rect1) const {
...
@@ -218,6 +218,10 @@ int BarGraph::findItem(const RealPoint& pos, const RealRect& rect1) const {
// ----------------------------------------------------------------------------- : Pie Graph
// ----------------------------------------------------------------------------- : Pie Graph
// ----------------------------------------------------------------------------- : Scatter Graph
// ----------------------------------------------------------------------------- : Graph Legend
// ----------------------------------------------------------------------------- : Graph Legend
// ----------------------------------------------------------------------------- : GraphControl
// ----------------------------------------------------------------------------- : GraphControl
...
...
src/gui/set/window.cpp
View file @
b787142d
...
@@ -54,11 +54,11 @@ SetWindow::SetWindow(Window* parent, const SetP& set)
...
@@ -54,11 +54,11 @@ SetWindow::SetWindow(Window* parent, const SetP& set)
menuFile
->
Append
(
ID_FILE_SAVE
,
_
(
"save"
),
_MENU_
(
"save set"
),
_HELP_
(
"save set"
));
menuFile
->
Append
(
ID_FILE_SAVE
,
_
(
"save"
),
_MENU_
(
"save set"
),
_HELP_
(
"save set"
));
menuFile
->
Append
(
ID_FILE_SAVE_AS
,
_MENU_
(
"save set as"
),
_HELP_
(
"save set as"
));
menuFile
->
Append
(
ID_FILE_SAVE_AS
,
_MENU_
(
"save set as"
),
_HELP_
(
"save set as"
));
IconMenu
*
menuExport
=
new
IconMenu
();
IconMenu
*
menuExport
=
new
IconMenu
();
menuExport
->
Append
(
ID_FILE_EXPORT_HTML
,
_MENU_
(
"export html"
),
_HELP_
(
"export html"
));
menuExport
->
Append
(
ID_FILE_EXPORT_HTML
,
_
(
"export_html"
),
_MENU_
(
"export html"
),
_HELP_
(
"export html"
));
menuExport
->
Append
(
ID_FILE_EXPORT_IMAGE
,
_MENU_
(
"export image"
),
_HELP_
(
"export image"
));
menuExport
->
Append
(
ID_FILE_EXPORT_IMAGE
,
_
(
"export_image"
),
_MENU_
(
"export image"
),
_HELP_
(
"export image"
));
menuExport
->
Append
(
ID_FILE_EXPORT_IMAGES
,
_MENU_
(
"export images"
),
_HELP_
(
"export images"
));
menuExport
->
Append
(
ID_FILE_EXPORT_IMAGES
,
_
(
"export_images"
),
_MENU_
(
"export images"
),
_HELP_
(
"export images"
));
menuExport
->
Append
(
ID_FILE_EXPORT_APPR
,
_MENU_
(
"export apprentice"
),
_HELP_
(
"export apprentice"
));
menuExport
->
Append
(
ID_FILE_EXPORT_APPR
,
_
(
"export_apprentice"
),
_MENU_
(
"export apprentice"
),
_HELP_
(
"export apprentice"
));
menuExport
->
Append
(
ID_FILE_EXPORT_MWS
,
_MENU_
(
"export mws"
),
_HELP_
(
"export mws"
));
menuExport
->
Append
(
ID_FILE_EXPORT_MWS
,
_
(
"export_mws"
),
_MENU_
(
"export mws"
),
_HELP_
(
"export mws"
));
menuFile
->
Append
(
ID_FILE_EXPORT
,
_MENU_
(
"export"
),
_
(
"Export the set..."
),
menuExport
);
menuFile
->
Append
(
ID_FILE_EXPORT
,
_MENU_
(
"export"
),
_
(
"Export the set..."
),
menuExport
);
menuFile
->
AppendSeparator
();
menuFile
->
AppendSeparator
();
// menuFile->Append(ID_FILE_INSPECT, _("Inspect Internal Data..."), _("Shows a the data in the set using a tree structure"));
// menuFile->Append(ID_FILE_INSPECT, _("Inspect Internal Data..."), _("Shows a the data in the set using a tree structure"));
...
...
src/resource/msw/mse.rc
View file @
b787142d
...
@@ -22,6 +22,11 @@ cursor/rot_text CURSOR "cursor/rot_text.cur"
...
@@ -22,6 +22,11 @@ cursor/rot_text CURSOR "cursor/rot_text.cur"
tool/new IMAGE "tool/new.png"
tool/new IMAGE "tool/new.png"
tool/open IMAGE "tool/open.png"
tool/open IMAGE "tool/open.png"
tool/save IMAGE "tool/save.png"
tool/save IMAGE "tool/save.png"
tool/export_html IMAGE "tool/export_html.png"
tool/export_image IMAGE "tool/export_image.png"
tool/export_images IMAGE "tool/export_images.png"
tool/export_mws IMAGE "tool/export_mws.png"
tool/export_apprentice IMAGE "tool/export_apprentice.png"
tool/undo IMAGE "tool/undo.png"
tool/undo IMAGE "tool/undo.png"
tool/redo IMAGE "tool/redo.png"
tool/redo IMAGE "tool/redo.png"
...
...
src/resource/msw/tool/export_apprentice.png
0 → 100644
View file @
b787142d
767 Bytes
src/resource/msw/tool/export_html.png
0 → 100644
View file @
b787142d
999 Bytes
src/resource/msw/tool/export_image.png
0 → 100644
View file @
b787142d
273 Bytes
src/resource/msw/tool/export_images.png
0 → 100644
View file @
b787142d
348 Bytes
src/resource/msw/tool/export_mws.png
0 → 100644
View file @
b787142d
452 Bytes
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment