Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fltk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Will2.Mcgregor@live.uwe.ac.uk
fltk
Commits
d449a3d9
Commit
d449a3d9
authored
2 months ago
by
Matthias Melcher
Browse files
Options
Downloads
Patches
Plain Diff
Fixes for icon path and Windows includes.
parent
1985aefc
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
fluid/CMakeLists.txt
+3
-3
3 additions, 3 deletions
fluid/CMakeLists.txt
fluid/tools/ExternalCodeEditor_WIN32.h
+2
-0
2 additions, 0 deletions
fluid/tools/ExternalCodeEditor_WIN32.h
with
5 additions
and
3 deletions
fluid/CMakeLists.txt
+
3
−
3
View file @
d449a3d9
...
...
@@ -129,7 +129,7 @@ if(APPLE AND NOT FLTK_BACKEND_X11)
# macOS
set
(
ICON_NAME fluid.icns
)
set
(
ICON_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
../
icons/
${
ICON_NAME
}
"
)
set
(
ICON_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/icons/
${
ICON_NAME
}
"
)
add_executable
(
fluid MACOSX_BUNDLE main.cxx main.h
${
ICON_PATH
}
)
# create macOS bundle wrapper script
...
...
@@ -221,8 +221,8 @@ if(UNIX)
# Install desktop icons
foreach
(
icon 32 48 64 128
)
install
(
FILES
../
icons/fluid-
${
icon
}
.png
DESTINATION
${
FLTK_DATADIR
}
/
../
icons/hicolor/
${
icon
}
x
${
icon
}
/apps
install
(
FILES icons/fluid-
${
icon
}
.png
DESTINATION
${
FLTK_DATADIR
}
/icons/hicolor/
${
icon
}
x
${
icon
}
/apps
RENAME fluid.png
)
endforeach
()
...
...
This diff is collapsed.
Click to expand it.
fluid/tools/ExternalCodeEditor_WIN32.h
+
2
−
0
View file @
d449a3d9
...
...
@@ -7,6 +7,8 @@
#ifndef _EXTCODEEDITOR_H
#define _EXTCODEEDITOR_H
#include
<FL/Fl.H>
/* We require at least Windows 2000 (WINVER == 0x0500) for GetFileSizeEx(). */
/* This must be defined before #include <windows.h> - MinGW doesn't do that. */
#if !defined(WINVER) || (WINVER < 0x0500)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment