Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
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
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
f660bdc7
Commit
f660bdc7
authored
11 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
fine-tune About window
parent
3c8b8f0b
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
contrib/mobile/Android/src/org/geuz/onelab/AboutActivity.java
+2
-1
2 additions, 1 deletion
...rib/mobile/Android/src/org/geuz/onelab/AboutActivity.java
contrib/mobile/androidGModel.cpp
+14
-28
14 additions, 28 deletions
contrib/mobile/androidGModel.cpp
with
16 additions
and
29 deletions
contrib/mobile/Android/src/org/geuz/onelab/AboutActivity.java
+
2
−
1
View file @
f660bdc7
...
@@ -22,8 +22,9 @@ public class AboutActivity extends Activity{
...
@@ -22,8 +22,9 @@ public class AboutActivity extends Activity{
catch
(
android
.
content
.
pm
.
PackageManager
.
NameNotFoundException
e
)
{
catch
(
android
.
content
.
pm
.
PackageManager
.
NameNotFoundException
e
)
{
aboutOnelab
+=
"Version ?.?.?"
;
aboutOnelab
+=
"Version ?.?.?"
;
}
}
aboutOnelab
+=
"<p>Copyright (C) 2014
<br>Maxime Graulich and
Christophe Geuzaine, University of Liège</p>"
;
aboutOnelab
+=
"<p>Copyright (C) 2014 Christophe Geuzaine
and Maxime Graulich
, University of Liège</p>"
;
aboutOnelab
+=
"<p>Visit <a href=\"http://onelab.info/\">http://onelab.info/</a> for more information</p>"
;
aboutOnelab
+=
"<p>Visit <a href=\"http://onelab.info/\">http://onelab.info/</a> for more information</p>"
;
aboutOnelab
+=
"<p>This version of Onelab/Mobile contains:</p>"
;
webview
.
loadDataWithBaseURL
(
""
,
aboutOnelab
+
aboutGmsh
+
aboutGetDP
,
"text/html"
,
"UTF-8"
,
""
);
webview
.
loadDataWithBaseURL
(
""
,
aboutOnelab
+
aboutGmsh
+
aboutGetDP
,
"text/html"
,
"UTF-8"
,
""
);
setContentView
(
webview
);
setContentView
(
webview
);
}
}
...
...
This diff is collapsed.
Click to expand it.
contrib/mobile/androidGModel.cpp
+
14
−
28
View file @
f660bdc7
...
@@ -335,42 +335,28 @@ extern "C" {
...
@@ -335,42 +335,28 @@ extern "C" {
(
JNIEnv
*
env
,
jclass
c
)
(
JNIEnv
*
env
,
jclass
c
)
{
{
std
::
ostringstream
sstream
;
std
::
ostringstream
sstream
;
sstream
<<
"<center><h3>Gmsh</h3><br>version "
<<
GMSH_VERSION
sstream
<<
"<center><h3>Gmsh</h3>"
<<
"<p>Copyright (C) 1997-2014"
<<
"Version "
<<
GMSH_VERSION
<<
" "
<<
"<br>Christophe Geuzaine and Jean-Francois Remacle"
<<
"(<i>Build date:</i> "
<<
GMSH_DATE
<<
")"
<<
"<p>Copyright (C) 1997-2014 Christophe Geuzaine and Jean-François Remacle</p>"
<<
"<p><a href=
\"
http://geuz.org/gmsh/doc/CREDITS.txt
\"
>Credits</a> "
<<
"<p><a href=
\"
http://geuz.org/gmsh/doc/CREDITS.txt
\"
>Credits</a> "
<<
"and <a href=
\"
http://geuz.org/gmsh/doc/LICENSE.txt
\"
>licensing "
<<
"and <a href=
\"
http://geuz.org/gmsh/doc/LICENSE.txt
\"
>licensing information</a></p>"
<<
"information</a>"
<<
"<p><i>Build options:</i> "
<<
GMSH_CONFIG_OPTIONS
<<
"</p>"
<<
"<p>Please send all questions and bug reports to "
<<
"<p>Visit <a href=
\"
http://gmsh.info
\"
>http://gmsh.info</a> for more information</p></center>"
;
<<
"<a href=
\"
mailto:gmsh@geuz.org
\"
>gmsh@geuz.org</a></center>"
<<
"<ul>"
<<
"<li><i>Build OS:</i> "
<<
GMSH_OS
<<
"<li><i>Build date:</i> "
<<
GMSH_DATE
<<
"<li><i>Build options:</i>"
<<
GMSH_CONFIG_OPTIONS
<<
"</ul>"
<<
"<center>Visit <a href=
\"
http://geuz.org/gmsh/
\"
>http://geuz.org/gmsh/</a> "
<<
"for more information</center>"
;
return
env
->
NewStringUTF
(
sstream
.
str
().
c_str
());
return
env
->
NewStringUTF
(
sstream
.
str
().
c_str
());
}
}
JNIEXPORT
jstring
JNICALL
Java_org_geuz_onelab_Gmsh_getAboutGetDP
JNIEXPORT
jstring
JNICALL
Java_org_geuz_onelab_Gmsh_getAboutGetDP
(
JNIEnv
*
env
,
jclass
c
)
(
JNIEnv
*
env
,
jclass
c
)
{
{
std
::
ostringstream
sstream
;
std
::
ostringstream
sstream
;
sstream
<<
"<center><h3>GetDP</h3><br>version "
<<
GETDP_VERSION
sstream
<<
"<center><h3>GetDP</h3>"
<<
"<p>Copyright (C) 1997-2014"
<<
"Version "
<<
GETDP_VERSION
<<
" "
<<
"<br>Christophe Geuzaine and Patrick Dular, University of Liège"
<<
"(<i>Build date:</i> "
<<
GETDP_DATE
<<
")"
<<
"<p>Copyright (C) 1997-2014 Patrick Dular and Christophe Geuzaine, University of Liège</p>"
<<
"<p><a href=
\"
http://geuz.org/getdp/doc/CREDITS.txt
\"
>Credits</a> "
<<
"<p><a href=
\"
http://geuz.org/getdp/doc/CREDITS.txt
\"
>Credits</a> "
<<
"and <a href=
\"
http://geuz.org/getdp/doc/LICENSE.txt
\"
>licensing "
<<
"and <a href=
\"
http://geuz.org/getdp/doc/LICENSE.txt
\"
>licensing information</a></p>"
<<
"information</a>"
<<
"<p><i>Build options:</i> "
<<
GETDP_CONFIG_OPTIONS
<<
"</p>"
<<
"<p>Please send all questions and bug reports to "
<<
"<p>Visit <a href=
\"
http://getdp.info
\"
>http://getdp.info</a> for more information</p></center>"
;
<<
"<a href=
\"
mailto:getdp@geuz.org
\"
>getdp@geuz.org</a></center>"
<<
"<ul>"
<<
"<li><i>Build OS:</i> "
<<
GETDP_OS
<<
"<li><i>Build date:</i> "
<<
GETDP_DATE
<<
"<li><i>Build options:</i>"
<<
GETDP_CONFIG_OPTIONS
<<
"</ul>"
<<
"<center>Visit <a href=
\"
http://geuz.org/getdp/
\"
>http://geuz.org/getdp/</a> "
<<
"for more information</center>"
;
return
env
->
NewStringUTF
(
sstream
.
str
().
c_str
());
return
env
->
NewStringUTF
(
sstream
.
str
().
c_str
());
}
}
}
}
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