Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

widgets: add SwitchBox widget #421

Open
wants to merge 504 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
504 commits
Select commit Hold shift + click to select a range
7779427
add property editor to example1
Feb 13, 2020
273fcda
support draw navigation border for slider
Feb 13, 2020
e845077
move frame loop to nanogui::frame_loop depends from gapi
Feb 14, 2020
90f5721
now button can stop by keyboard navigation
Feb 14, 2020
9267b9d
redesign rtti class uid generation
Feb 14, 2020
17af142
prop editor add class type field
Feb 14, 2020
cd8e285
popup button remove obsolete serializer
Feb 15, 2020
31d7489
theme add option tool button side
Feb 16, 2020
1ea95a3
redesigned observables
Feb 16, 2020
abb5a2e
remove common class declarations
Feb 17, 2020
d5a8329
use json serializer in color wheel widget
Feb 18, 2020
d4ac9c5
use json serializer for combobox
Feb 18, 2020
db2cd21
more simple syntax save/load serializer
Feb 18, 2020
ff02f0d
simplify serializer to json
Feb 20, 2020
a8c928f
use json serializer in dial
Feb 22, 2020
333a02a
dropdownbox use json that serialize data
Feb 22, 2020
22d0754
graph using json serializer
Feb 22, 2020
c250ca7
label used json serializer
Feb 22, 2020
b424d49
popup/window used json serializer
Feb 22, 2020
243f327
progress bar used json serializer
Feb 22, 2020
16535bc
scrollbar used json serializer
Feb 22, 2020
319ce9f
textbox used json serializer
Feb 22, 2020
667f29d
scroll panel used json serializer
Feb 22, 2020
746bf51
add honsu project
Feb 23, 2020
1941de7
honsu: add login/wait window
Feb 24, 2020
944d920
spinner add override background color
Feb 24, 2020
96b2748
spinner add prop radius
Feb 24, 2020
5801f68
textbox add prop placeholder
Feb 24, 2020
1e03ae1
honsu: get agiles/boards and tasks from youtrack
Feb 26, 2020
53f40dd
widgets: add frame widget
Feb 27, 2020
01063ed
add button option draw text shadow
Feb 28, 2020
0438acf
widgets: moved property section from common scope
Feb 28, 2020
8976d44
button: cache caption size to avoid calc it every frame
Feb 28, 2020
dfdb3ab
sample: add function to remove native window border
Feb 28, 2020
0915e92
widgets: small fixes
Feb 28, 2020
d935cf3
toolbutton: size depends from font size if it set
Feb 28, 2020
f0b815b
redesigned and improved color class
Feb 28, 2020
54f0467
colors: fixed default colors
Feb 29, 2020
3a4f889
button: add hovered color and logic
Feb 29, 2020
9e20246
honus: add close button
Feb 29, 2020
5a29a59
nonsu: shutdown app on close button click
Feb 29, 2020
fca582f
textbox: draw with custom border size
Feb 29, 2020
263c852
textbox: add override bg color
Feb 29, 2020
69b593f
honsu: less code on create login textfields
Feb 29, 2020
d438e5f
honsu: request agile/board and tasks
Mar 1, 2020
6d9fb70
honsu: login screen use vertical box layout
Mar 1, 2020
3099276
button: add border size option
Mar 2, 2020
abc07e5
button: add option border color
Mar 2, 2020
2c533cf
honsu: use radio button for agile screen
Mar 2, 2020
009aca4
theme: add button default font
Mar 3, 2020
70fdb29
label: use one text align field
Mar 3, 2020
41c7d0e
button: refactor: syntax improves
Mar 3, 2020
3ba1df6
widget: add icon color property declaration
Mar 3, 2020
fc58a40
honsu: make agile board more informative
Mar 3, 2020
f79fc0c
vstask: use custom margin, spacing option
Mar 3, 2020
f8ccc3d
honsu: add app title
Mar 4, 2020
2469899
link: display line under text
Mar 4, 2020
68652d0
label: add property caption color
Mar 4, 2020
0bb1c28
honsu: add titlebar to agile screen
Mar 4, 2020
72ab973
button: add text color property
Mar 4, 2020
f1170de
frame: draw widgets after background
Mar 4, 2020
82957f3
honsu: redesigned tasks window
Mar 4, 2020
9fc0a5e
widgets: add separator widget
Mar 6, 2020
6e84e9d
button: DrawText -> DrawCaption rename
Mar 6, 2020
58b2f28
theme: add separator width/color default value
Mar 6, 2020
ae571f3
honsu: redesigned tasks window
Mar 6, 2020
350009c
button: rename ButtonDrawFlags -> DrawFlags
Mar 6, 2020
93ec80b
button: align icon moved to common space
Mar 7, 2020
f5aa95f
fix: fixed compile icon align for DropdownBox
Mar 7, 2020
a7df98e
examples: icons: fixed compile with icon align
Mar 7, 2020
f4a20cc
honsu: syntax fixes
Mar 7, 2020
e3ea9e3
button: add caption alginment
Mar 7, 2020
a6c122b
color: add predefined colors darkGrey/heavyDarkGrey
Mar 8, 2020
53857ca
button: draw with custom corder radius
Mar 8, 2020
77a6081
properties: add visible observable
Mar 8, 2020
c5d1312
BoolObservable: add &= operator
Mar 8, 2020
849cbfe
honsu: support rec button for issue
Mar 8, 2020
66f61f3
honsu: add time record panel
Mar 8, 2020
5fcdd61
honsu: add issue record button
Mar 8, 2020
4158b2f
honsu: correct display issue record button
Mar 8, 2020
4907415
honsu: track time for issue
Mar 8, 2020
64e5f65
honsu: clear code from unnecessary blocks
Mar 8, 2020
73fd6be
button: link button setup hand cursor
Mar 8, 2020
53d0d17
frame: setup body color with props
Mar 8, 2020
a4a9214
honsu: add function to open url
Mar 8, 2020
9367122
honsu: change icon on record button
Mar 8, 2020
61b1792
honsu: open issue in browser from app
Mar 8, 2020
e2b4282
json: return int64_t instead int
Mar 9, 2020
2e4fa45
widget: add props for widget cursor
Mar 9, 2020
a255481
honsu: request issue spent time before start record'
Mar 9, 2020
cf52cd2
layout: removed default params for vstack/hstack
Mar 9, 2020
26f0a9c
label: add text offset option
Mar 9, 2020
a7cafb8
spinner: set background color transparent prop
Mar 9, 2020
bb691c3
honsu: redesigned youtrack requests, add issue post worktime
Mar 9, 2020
098f273
label: add background draw
Mar 9, 2020
b0e8288
honsu: send worktime for issue
Mar 9, 2020
666a1fd
get cursor position from screen
Mar 10, 2020
2d25df1
honsu: move window from any window point
Mar 10, 2020
15c5681
add function to set window always on top
Mar 10, 2020
e6e5f24
widgets: add helper widget that implement visitor pattern
Mar 10, 2020
67e25f9
honsu: track time interval when user were inactive
Mar 10, 2020
ffca788
screen: dont drag widget if it null
Mar 10, 2020
2e6d285
honsu: correct show inactive time dialog
Mar 10, 2020
e6d797a
honsu: improved inactive warning dialog
Mar 10, 2020
942e828
honsu: refactor sslpost iface
Mar 10, 2020
ef31695
honsu: refactor sslget iface
Mar 10, 2020
d688891
honsu: set default inactive time more 5 min
Mar 10, 2020
a38f1d1
honsu: refactor strings concats
Mar 10, 2020
d56a2fb
refactor: fixed compiler warnings
Mar 10, 2020
0fb75e5
release 0.0.1
Mar 10, 2020
4daeb97
fixed build with python binding
Mar 11, 2020
f768896
travis: build glfw with static lib
Mar 11, 2020
4a94f5b
git: add httplib submodule
Mar 11, 2020
2461181
fixed load empty file
Mar 11, 2020
fd642ca
glfw: windows: fix show app always on top function
Mar 11, 2020
4eb8f26
honsu: show app on top when user inactive long time
Mar 11, 2020
b8aab00
travis: install openssl for honsu build
Mar 11, 2020
d468c10
fixed compilation on dx/vulkan gapi
Mar 11, 2020
2f7ec65
vk: fixed compile for windows
Mar 11, 2020
2315c62
fix compilation dx/vk clear_frame func
Mar 11, 2020
46b9f03
update vulkan headers
Mar 12, 2020
d9a5660
vulkan: add glfw windows native header
Mar 12, 2020
35cd322
fixed compil vulkan
Mar 12, 2020
b63c94e
honsu: remove incorrect link option
Mar 12, 2020
b2b2ad1
travis: vulkan build install openssl for honsu
Mar 12, 2020
959a6e6
fixes: make gcc happy
Mar 12, 2020
5a7cac3
honsu: get issues from board
Mar 12, 2020
3df559b
honsu: move window only with header drag
Mar 12, 2020
8fee671
honsu: load all issues in records page
Mar 13, 2020
2039533
honsu: refactor make day internal with func
Mar 13, 2020
0aba908
fix incorrect arguments using
Mar 13, 2020
c234f39
honsu: update active task window
Mar 13, 2020
c47cd8b
honsu: less code to read issue from response
Mar 13, 2020
6fb2a45
vector2i: inlining small functions
Mar 13, 2020
59ce385
widget: separator correct calc pos
Mar 13, 2020
0b318ea
widget: frame add props for bg/border color
Mar 13, 2020
6e9ac2f
honsu: redesigned task panel view
Mar 13, 2020
dcce5e1
fix dx12 backend compilation
megai2 Mar 14, 2020
da8e953
fix dx11 backend compilation
megai2 Mar 14, 2020
d72b354
show recorded taks app
Mar 14, 2020
c37dbdc
remove widget by id
Mar 14, 2020
14cc2d2
get time from youtrack about issue spent time
Mar 14, 2020
72fa6db
add function that update json array with lambda
Mar 14, 2020
e16b24d
honsu: request worktime history
Mar 15, 2020
ec4f464
honsu: split worktime history by days
Mar 15, 2020
0090a57
honsu: sort history items from last date to early
Mar 15, 2020
0ac7b0d
fixed macos x build
Mar 16, 2020
a657fc6
Update python.h
dalerank Mar 16, 2020
bdaa68b
fixed compile with vs2015
Mar 16, 2020
cda7753
honsu: add waiting window
Mar 16, 2020
021f27b
travis: exclude honsu build from basic cmake config
Mar 16, 2020
c2c6622
honsu: create app header in window
Mar 16, 2020
fc33258
honsu: move stuff for records history to window class
Mar 16, 2020
7d7aa32
honsu: move tasks window stuff to window class
Mar 16, 2020
6fc7f29
honsu: moved agiles stuff to window class
Mar 16, 2020
e43570c
fixed gcc compile
dalerank Mar 16, 2020
40c02c1
honsu: export host from youtrack url, fix parsing projects
Mar 17, 2020
7b4df1f
honsu: moved login window stuff to class
Mar 17, 2020
efffa9c
honsu: request records from youtrack
Mar 17, 2020
1895736
fixed linux build with python
dalerank Mar 17, 2020
af37a31
travis: change clang 3.8 to 3.9
Mar 17, 2020
9f21d20
fixed compile with clang greater 3.7
Mar 17, 2020
3335307
travis: clang 3.9 install libc++abi-dev, show warnings about multiple…
Mar 17, 2020
c3eb47d
fixed compile with vulkan
dalerank Mar 17, 2020
da34f83
travis: build vulkan on linux/clang
Mar 17, 2020
484edbe
honsu: small syntax fix
Mar 17, 2020
554e98d
travis: install vulkan dev
Mar 18, 2020
6197408
honsu: hide active issue panel when it null
Mar 18, 2020
4f8aed9
layout: correct calc current area size in stretch layout
Mar 18, 2020
66eb87b
honsu: style fixed
Mar 18, 2020
e670e55
honsu: read spring info from issue
Mar 18, 2020
2fb0d25
honsu: small refactor
Mar 19, 2020
39094e1
honsu: moved inavtive warning to class
Mar 19, 2020
1703e7b
honsu: refactor: split resolve agile data and show window
Mar 19, 2020
9d40583
honsu: add warning message if no task select with long activity
Mar 20, 2020
3c052b9
honsu: syntax refactor
Mar 20, 2020
4843097
honsu: back from warning screen to tasks window instead hide app
Mar 20, 2020
a477cd7
honsu: travis: build with vulkan on linux
Mar 21, 2020
066f8e0
honsu: travis: add names for build matrix stages
Mar 21, 2020
36abf61
fix dx12 rendering
megai2 Mar 22, 2020
24c5c55
fix dx12 exit on window close
megai2 Mar 22, 2020
7f689a8
fix dx11 app exit
megai2 Mar 22, 2020
ed38b08
fix vk backend app exit
megai2 Mar 22, 2020
98f576c
vk: temporarily prevent startup crashes
megai2 Mar 22, 2020
ce95914
dx11/12: fix time scale
megai2 Mar 22, 2020
32bfc46
dx12: reduce resource barriers amount
megai2 Mar 22, 2020
d26588e
honsu: fixed inaccurate path in url
Mar 25, 2020
712a716
label: use limited width for text in label
Mar 25, 2020
9ff6862
release 0.0.2
Mar 25, 2020
3d0fcca
label: add option to draw wrapped text
Mar 25, 2020
db1a8b4
add honsu preview
dalerank Mar 25, 2020
8621659
Update README.rst
dalerank Mar 25, 2020
0736b69
travis: moved deploy section
Mar 25, 2020
9de2a0a
widget: add new widget prop for transparent add child
Mar 26, 2020
af3e970
nanogui: more declarative style on create widgets inplace
Mar 27, 2020
1d22be6
honsu: honsu label use declarative widget style
Mar 27, 2020
8415173
honsu: activity warning use declarative style for widgets
Mar 27, 2020
ff7426a
sample: use declaratve style in example1
Mar 28, 2020
f603f0f
message dialog: use declarative constructor
Apr 12, 2020
606b3b6
new widget: notification message
Apr 12, 2020
b52cd3b
sample: use declarative ctor
Apr 12, 2020
d572671
tolerancebar: use declarative ctor
Apr 12, 2020
897c161
honsu: syntax refactor
Apr 12, 2020
2ad6eee
remove old serializer
Apr 12, 2020
096a99e
new widget: splitter
Apr 16, 2020
c70009e
refactor: add simple syntax to add elements
Apr 17, 2020
a65e951
window: add can resize option
Apr 17, 2020
eb4cb0c
sample: add example for window draw body flag
Apr 17, 2020
271d0a1
window: add optional bring to front
Apr 18, 2020
81c437f
label: simplify inplace ctor
Apr 18, 2020
49ab0f1
refactor: fix warnings
Apr 18, 2020
240a248
refactor: remove explicit button ctors
Apr 18, 2020
b0d8106
label: recal label size when change text
Apr 18, 2020
c6bbe50
sample: add sample for radio buttons
Apr 18, 2020
9516813
sample: add colored button sample
Apr 19, 2020
5c181b2
fixed compile with python
Apr 19, 2020
ec407ae
travis: add clang 4.0 in matrix
Apr 19, 2020
77c7011
fixed compile with python
Apr 19, 2020
cf8af14
new widget: updown button with repeat inverval
Apr 19, 2020
b888a36
fixed compile for gcc/clang
dalerank Apr 20, 2020
e020add
fixed compilation gcc/clang
dalerank Apr 20, 2020
acf92d9
fixed gcc/clang compilaton
dalerank Apr 20, 2020
8efd6ab
widgets: allow another widget for tooltip
Apr 23, 2020
892da46
add split line, improve example
Apr 25, 2020
90edbe0
improved example with declarative ctors
Apr 25, 2020
4a0e444
fixed serialize strings array
Apr 25, 2020
8098025
improved sample syntax
Apr 25, 2020
c3401fe
refactor: use declarative ctor in combobox
Apr 28, 2020
2ae6ba5
toolbutton: improved syntax
Apr 28, 2020
12eb0ae
add vscrollpanel for dropdownbox widget
May 1, 2020
4a93070
dropdownbox: add prop for item height
May 2, 2020
f980c1f
sample: add another textbox sample with edit callback
May 3, 2020
91eab68
sample: add yet one sample textbox with hint
May 3, 2020
1feabef
refactor: can create window from declarative ctor in current screen
May 5, 2020
fcdc77c
add elm::BeginWindow/EndWindow instruction
May 5, 2020
359092f
refactor: more useful declarative ctor in widgets
May 5, 2020
24abd91
message dialog: simplify declarative ctor
May 6, 2020
646d019
refactor: improved creating os window with no titlebar
May 7, 2020
41cf1b2
refactor: vscrollpanel\vstack use simlify ctor
May 8, 2020
b9e6556
honsu: small syntax refactor
May 8, 2020
dfba2aa
syntax: add block for declarative create elements without parent
May 8, 2020
9a1fdcf
honsu: refactor syntax
May 8, 2020
458ac08
widget: add option that fill children inside ctor
May 8, 2020
e314790
refactor: hstack widget add
May 8, 2020
d16969f
honsu: improve syntax no activity window
May 8, 2020
796dc67
honsu: syntax improved
May 10, 2020
ca5f1b0
refactor: using declarative ctor for dial/imageview/slider
May 10, 2020
a74054d
samples: syntax improves
May 11, 2020
9e337b9
refactor: picflow/textarea use declarative ctor
May 11, 2020
b210fa5
Update README.rst
dalerank May 12, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
[submodule "ext/glfw"]
path = ext/glfw
url = https://github.com/wjakob/glfw
[submodule "ext/eigen"]
path = ext/eigen
url = https://github.com/eigenteam/eigen-git-mirror.git
shallow = true
[submodule "ext/pybind"]
path = ext/pybind11
url = https://github.com/pybind/pybind11
[submodule "ext/cpp-httplib"]
path = ext/cpp-httplib
url = https://github.com/yhirose/cpp-httplib
309 changes: 295 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,68 @@ language: cpp
dist: trusty
sudo: false

# Only build master branch, other branches will have a Pull Request build.
branches:
only:
- master

matrix:
include:
# build opengl render
- os: windows
name: Windows OpenGL Samples VS17
python: "3.7"
before_install:
- choco install python3
- export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
script:
- mkdir -p build
- cd build
- cmake --version
- cmake -G "Visual Studio 15 2017 Win64" -DNANOGUI_BUILD_SHARED=ON -DNANOGUI_GLFW_BACKEND=ON -DNANOGUI_PYTHON_VERSION=3.8 -DPYTHON_INCLUDE_DIRS:PATH="C:/Python38/include" -DPYTHON_LIBRARY:FILEPATH="C:/Python38/libs/python38.lib" ..
- cmake --build . --config Release
# build vulkan render windows x64
- os: windows
name: Windows Vulkan Samples VS17
before_install:
- cmake --version
script:
- mkdir -p build
- cd build
- mkdir blob
- curl -L --progress-bar --show-error --output blob/vulkan-1.lib http://github.com/dalerank/nanogui-stuff-libs/raw/master/vulkan/x64/vulkan-1.lib
- cmake --version
- cmake -G "Visual Studio 15 2017 Win64" -DNANOGUI_VULKAN_BACKEND=ON -DNANOGUI_VULKAN_NOSDK=ON -DNANOGUI_BUILD_PYTHON=OFF ..
- cmake --build .
# build opengl render windows x64 honsu app
- os: windows
name: Windows OpenGL Samples Honsu VS17
before_install:
- cmake --version
- choco install openssl
script:
- mkdir -p build
- cd build
- mkdir blob
- cmake --version
- cmake -G "Visual Studio 15 2017 Win64" -DNANOGUI_BUILD_HONSU=ON -DNANOGUI_BUILD_SHARED=OFF -DNANOGUI_GLFW_BACKEND=ON -DNANOGUI_BUILD_PYTHON=OFF ..
- cmake --build . --config Release
deploy:
provider: releases # deploy to GitHub Releases
api_key:
secure: rzn258dan/03sUwChTxoaNHMz5/CRwpNK6PL5SbZ22Y2h80eqC510VbwUSB1ogc2MWcB2CH21hUpdM2PZtl4ayPyqtcB5CsrTKsAj38Yi70d262qPIX6orl+cQbbRtTePdvKoJwBkaD3PwYdq2GRSCgIlDBk8IMjIxHscpM0/K0K1h1DumyURpTCbfPcXCqRr8o0UF9/BiUtRDoBUsqc/XYmmKIfmJPIsXdDV9HQ5uXfY7IkTKrbIoRalnIGRgjReo8XAEElBlY8DqOhLxG2noa6PZCGY9Ue9tl9q4KpWT5bZwb/Jdjg1VYip6Z+HEmVe7kl9d634JUhz4UMMArHniGcaQri5l8vEaSnPwgIZ7Gi/6WwQ4BHSuCp4WlWhBMfVgjCDTEUpq7fGKM5Vi8zkDs4HOauwg75bURompPxiSSkCs+OQ/RdjNmATdTZIOOF52C0fWH+SyKZ+oJ4ujDMuVCvzcZEuay/oOjU2qFrWoAJStWj5cU4otQrgNzlP0QvLSExMCSSDtuJUSCTuY42QrJTp+jP07ZQ67SS032PuSiGw4uQmAq0W5vWMBoOggN5Fw1E4PyYBToeKVU5nKngcdR2GyXS3B86v6fqxe6FIiQw8kUrhHCeSmsaPmyE4M9ODgia5IcUDpWcHElkxW30mhe6jgJmyYZ8kkYKRtu+gLY=
file:
- Release/honsu.exe
skip_cleanup: true # dont remove artifacts
on:
tags: true # do deploy only for tagged-commit
# build opengl render linux gcc-4.9
- os: linux
compiler: gcc-4.8
name: Linux opengl Samples gcc4.9
compiler: gcc-4.9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- deadsnakes
- kubuntu-backports
packages:
- g++-4.8
- g++-4.9
- python3.5
- python3.5-dev
- python3.5-venv
Expand All @@ -32,16 +77,252 @@ matrix:
- cmake
script:
- cmake --version
- cmake -DNANOGUI_USE_GLAD=ON -DNANOGUI_PYTHON_VERSION=3.5 -DPYTHON_INCLUDE_DIRS:PATH=/usr/include/python3.5m -DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DCMAKE_CXX_COMPILER=g++-4.8 -DCMAKE_C_COMPILER=gcc-4.8
- cmake -DNANOGUI_GLFW_BACKEND=ON -DNANOGUI_USE_GLAD=ON -DNANOGUI_PYTHON_VERSION=3.5 -DPYTHON_INCLUDE_DIRS:PATH=/usr/include/python3.5m -DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DCMAKE_CXX_COMPILER=g++-4.9 -DCMAKE_C_COMPILER=gcc-4.9
- make -j 2
# build opengl render linux gcc-5
- os: linux
name: Linux opengl Samples gcc4.5
compiler: gcc-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- deadsnakes
- kubuntu-backports
packages:
- g++-5
- python3.5
- python3.5-dev
- python3.5-venv
- libglu1-mesa-dev
- libxxf86vm-dev
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libx11-dev
- cmake
script:
- cmake --version
- cmake -DNANOGUI_GLFW_BACKEND=ON -DNANOGUI_USE_GLAD=ON -DNANOGUI_PYTHON_VERSION=3.5 -DPYTHON_INCLUDE_DIRS:PATH=/usr/include/python3.5m -DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DCMAKE_CXX_COMPILER=g++-5 -DCMAKE_C_COMPILER=gcc-5
- make -j 2
# build opengl render linux gcc-6
- os: linux
name: Linux opengl Samples gcc6
compiler: gcc-6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- deadsnakes
- kubuntu-backports
packages:
- g++-6
- python3.5
- python3.5-dev
- python3.5-venv
- libglu1-mesa-dev
- libxxf86vm-dev
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libx11-dev
- cmake
script:
- cmake --version
- cmake -DNANOGUI_GLFW_BACKEND=ON -DNANOGUI_USE_GLAD=ON -DNANOGUI_PYTHON_VERSION=3.5 -DPYTHON_INCLUDE_DIRS:PATH=/usr/include/python3.5m -DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DCMAKE_CXX_COMPILER=g++-6 -DCMAKE_C_COMPILER=gcc-6
- make -j 2
# build opengl render linux gcc-7
- os: linux
name: Linux opengl Samples gcc7
compiler: gcc-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- deadsnakes
- kubuntu-backports
packages:
- g++-7
- python3.5
- python3.5-dev
- python3.5-venv
- libglu1-mesa-dev
- libxxf86vm-dev
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libx11-dev
- cmake
script:
- cmake --version
- cmake -DNANOGUI_GLFW_BACKEND=ON -DNANOGUI_USE_GLAD=ON -DNANOGUI_PYTHON_VERSION=3.5 -DPYTHON_INCLUDE_DIRS:PATH=/usr/include/python3.5m -DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DCMAKE_CXX_COMPILER=g++-7 -DCMAKE_C_COMPILER=gcc-7
- make -j 2
# build opengl render linux clang-3.6
- os: linux
name: Linux opengl Samples clang3.6
compiler: clang-3.6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- deadsnakes
- kubuntu-backports
- llvm-toolchain-precise-3.6
packages:
- clang-3.6
- python3.5
- python3.5-dev
- python3.5-venv
- libglu1-mesa-dev
- libxxf86vm-dev
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libx11-dev
- cmake
script:
- cmake --version
- cmake -DNANOGUI_GLFW_BACKEND=ON -DNANOGUI_USE_GLAD=ON -DNANOGUI_PYTHON_VERSION=3.5 -DPYTHON_INCLUDE_DIRS:PATH=/usr/include/python3.5m -DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DCMAKE_CXX_COMPILER=clang++-3.6 -DCMAKE_C_COMPILER=clang-3.6
- make -j 2
# build opengl render linux clang-3.7
- os: linux
name: Linux opengl Samples clang3.7
compiler: clang-3.7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- deadsnakes
- kubuntu-backports
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
- python3.5
- python3.5-dev
- python3.5-venv
- libglu1-mesa-dev
- libxxf86vm-dev
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libx11-dev
- cmake
script:
- cmake --version
- cmake -DNANOGUI_GLFW_BACKEND=ON -DNANOGUI_USE_GLAD=ON -DNANOGUI_PYTHON_VERSION=3.5 -DPYTHON_INCLUDE_DIRS:PATH=/usr/include/python3.5m -DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DCMAKE_CXX_COMPILER=clang++-3.7 -DCMAKE_C_COMPILER=clang-3.7
- make -j 2
# build opengl render linux clang-3.9
- os: linux
name: Linux opengl Samples clang3.9
compiler: clang-3.9
before_install:
- sudo apt-get --purge remove gcc-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- deadsnakes
- kubuntu-backports
- llvm-toolchain-precise-3.9
packages:
- clang-3.9
- libc++-dev
- libc++abi-dev
- python3.5
- python3.5-dev
- python3.5-venv
- libglu1-mesa-dev
- libxxf86vm-dev
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libx11-dev
- cmake
script:
- cmake --version
- cmake -DNANOGUI_GLFW_BACKEND=ON -DNANOGUI_USE_GLAD=ON -DNANOGUI_PYTHON_VERSION=3.5 -DPYTHON_INCLUDE_DIRS:PATH=/usr/include/python3.5m -DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DCMAKE_CXX_COMPILER=clang++-3.9 -DCMAKE_C_COMPILER=clang-3.9
- make -j 2
- os: linux
name: Linux opengl Samples clang4.0
compiler: clang-4.0
before_install:
- sudo apt-get --purge remove gcc-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- deadsnakes
- kubuntu-backports
- llvm-toolchain-precise-4.0
packages:
- clang-4.0
- libc++-dev
- libc++abi-dev
- python3.5
- python3.5-dev
- python3.5-venv
- libglu1-mesa-dev
- libxxf86vm-dev
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libx11-dev
- cmake
script:
- cmake --version
- cmake -DNANOGUI_GLFW_BACKEND=ON -DNANOGUI_USE_GLAD=ON -DNANOGUI_PYTHON_VERSION=3.5 -DPYTHON_INCLUDE_DIRS:PATH=/usr/include/python3.5m -DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0
- make -j 2
# build vulkan render linux clang-3.9 honsu
#- os: linux
# name: Linux Vulkan Honsu Samples clang3.9
# compiler: clang-3.9
# before_install:
# - sudo apt-get --purge remove gcc-4.8
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# - deadsnakes
# - kubuntu-backports
# - llvm-toolchain-precise-3.9
# packages:
# - clang-3.9
# - libc++-dev
# - libc++abi-dev
# - python3.5
# - python3.5-dev
# - python3.5-venv
# - libglu1-mesa-dev
# - libxxf86vm-dev
# - libxrandr-dev
# - libxinerama-dev
# - libxcursor-dev
# - libxi-dev
# - libx11-dev
# - cmake
# script:
# - cmake --version
# - cmake -DNANOGUI_BUILD_HONSU=ON -DNANOGUI_VULKAN_BACKEND=ON -DNANOGUI_BUILD_PYTHON=OFF -DCMAKE_CXX_COMPILER=clang++-3.9 -DCMAKE_C_COMPILER=clang-3.9
# - make -j 2
# build opengl render osx
- os: osx
name: MacOSX opengl Samples clang
compiler: clang
before_install:
- python3 --version
script:
- cmake --version
- cmake -DNANOGUI_PYTHON_VERSION=2.7
- cmake -DNANOGUI_GLFW_BACKEND=ON
- make -j 2
- os: linux
language: docs
env: STYLE
script:
- resources/check-style.sh
#- os: linux
# language: docs
# env: STYLE
# script:
# - resources/check-style.sh
Loading