Commit Graph

567 Commits

Author SHA1 Message Date
Lynix
5752792565 Utility/X11: Fix calling of std::abort() in case of failure 2017-01-18 22:41:44 +01:00
Lynix
5b36ac1953 Utility: Fix Cursor missing initialization 2017-01-16 00:41:31 +01:00
Lynix
f406068c45 Utility: Rework cursors
-Rename WindowCursor to SystemCursor
-Merged Cursor class with SystemCursor enum
2017-01-16 00:32:59 +01:00
Lynix
954298dc1e Utility/Cursor: Add GetImage() method 2017-01-15 22:41:48 +01:00
Lynix
4e239236b1 Utility/SoftwareBuffer: Move to public API 2016-12-09 09:11:22 +01:00
Lynix
d62720d610 Utility/Buffer: Refactor Buffer classes 2016-12-09 08:56:46 +01:00
Lynix
1794c83a32 Utility/SimpleTextDrawer: Fix handling of whitespace glyphs 2016-12-03 00:37:02 +01:00
Lynix
e6e4a437bd Merge remote-tracking branch 'refs/remotes/origin/master' into gui 2016-11-30 13:08:08 +01:00
Lynix
d509520904 Utility: Oops, so that field was used 2016-11-27 02:48:18 +01:00
Lynix
fda625b00a Utility: Fix compilation again 2016-11-27 02:42:16 +01:00
Lynix
9cc20f1069 Utility: Fix compilation on Linux 2016-11-27 02:36:58 +01:00
Lynix
1db3d60cea Utility/Enums: Change WindowStyleFlags to the new flags format 2016-11-27 02:28:39 +01:00
Lynix
faa03225bb Utility/OBJLoader: Fix compilation 2016-11-24 10:01:22 +01:00
Lynix
0c8128b7e4 Mesh/MeshParams: Replace flipUVs by texCoordOffset and texCoordScale 2016-11-24 09:43:56 +01:00
Lynix
2d13ff7aac Revert "Utility/Formats: STBLoader will now convert the image to RGB8 if it has no alpha value"
This reverts commit c523e3cde5.
2016-11-18 22:39:26 +01:00
Lynix
c523e3cde5 Utility/Formats: STBLoader will now convert the image to RGB8 if it has no alpha value 2016-11-18 01:16:36 +01:00
Lynix
ff7e64494f Utility/Image: Add HasAlpha() method 2016-11-18 01:15:58 +01:00
Lynix
93a2e54667 Utility/PixelFormat: Fix mask bit orders 2016-11-18 01:15:36 +01:00
Lynix
43f93141ac Utility/Algorithm: Fix GenerateBox plane rotation (Fix #114) 2016-11-14 00:02:01 +01:00
Gawaboumga
7a0049b392 Should fix the problem of Q activating A, this occurs when a keysym is related to several keycodes (#113) 2016-11-11 12:13:36 +01:00
Lynix
7f445def13 Fix some warnings from MSVC 2016-11-10 16:44:29 +01:00
Jérôme Leclercq
4570f9a6e1 Utility/VideoMode: Make bpp optionnal (defaults to desktop bpp) 2016-11-08 01:14:04 +01:00
Jérôme Leclercq
ffe748b8c3 Window: Fix Threaded flag, seems to be working fine now 2016-11-07 10:51:23 +01:00
Jérôme Leclercq
94631e1a01 Utility/Window: Fix Linux compilation 2016-11-07 10:08:12 +01:00
Jérôme Leclercq
cf2bf52701 Utility/Window: Replace NAZARA_UTILITY_THREADED_WINDOW by a runtime flag (WIP) 2016-11-07 02:01:09 +01:00
Jérôme Leclercq
6ebe29ceb4 Utility/Win32: Generate only one WindowEvent_Moved per movement
When not using threaded windows.
Fixed #105
2016-11-04 23:18:36 +01:00
Jérôme Leclercq
581cc989de Utility/Win32: Fix cached position never getting updated with threaded windows
Closes #104
2016-11-04 22:57:07 +01:00
Jérôme Leclercq
12f6877963 Fix some warnings 2016-11-04 22:25:16 +01:00
Jérôme Leclercq
c4ad52235f Utility/Win32: Fix Window title when using NAZARA_UTILITY_THREADED_WINDOW 2016-11-04 22:24:56 +01:00
Jérôme Leclercq
e087129d4a Fix many errors and warnings found out by MinGW 2016-11-04 18:14:52 +01:00
Lynix
38da351e9b Utility/TextDrawer: Expose lines 2016-10-28 17:45:29 +02:00
Lynix
736b31af1b Utility/SimpleTextDrawer: Whitespaces are now glyphs too 2016-10-28 17:44:59 +02:00
Lynix
a7d2d8cddd Utility/AbstractImage: Inherit RefCounted 2016-10-20 23:53:22 +02:00
Lynix
d530ca22e0 Final pass of Clang warning fixes 2016-10-17 16:14:35 +02:00
Lynix
4c6f049e0d Fix another lot of warnings from Clang
Closes #90
Closes #91
Closes #92
Closes #93
2016-10-17 16:01:05 +02:00
Lynix
5a07bbd001 Fix a lot of warnings from Clang/GCC 2016-10-17 14:46:53 +02:00
Lynix
8c1b4527fd Utility/Events: Fix TextEntered event with tabs on Linux 2016-10-14 17:50:12 +02:00
Gawaboumga
eb1416f48d Fix comment 2016-10-12 21:38:33 +02:00
Gawaboumga
f19100d179 Fix event: text entered (still broken with some key combinations and non printable characters) 2016-10-12 21:07:04 +02:00
Lynix
42240afb7c Utility/PixelFormat: Fix RGB32 and RGBA32 formats (Fix #80)
Former-commit-id: dceb517cec5aeb1202c9725c62248ca182310528 [formerly 4ac3d4cacf5217c85027f3895a5673c8827cc0c5] [formerly ae697fbfacc90215483a431a3d3377ddf5814a98 [formerly cc43ad0eb6a7793b17e582d4bf9ce2812d47ca2b]]
Former-commit-id: 6bd38f6ccb14944d7dcf5b69cda173c1b3c4f02e [formerly c32c42d98d003c181ee0ae1f5e97037d24497a07]
Former-commit-id: d87a202835b7929db20c46a05a0dadb0f497c306
2016-10-07 19:17:07 +02:00
Lynix
d8b7fad5f0 Utility: Fix NoWindowSystem parameter
Former-commit-id: e52ac3a387001968fb0e998b788aaad715696a63 [formerly db7e147f903a51ed676f3580ae4e5c14c697ce2a] [formerly 5c467bc943641505761e555b394f1e29201a5680 [formerly 3906b482b0ebfd99d26cc54d7ace3e6d628241e4]]
Former-commit-id: 13ac52c4b8fe3e9c73d38387e8fa44690d225a5c [formerly 0554f1fddf0023ccad75f2c946653f052f588e8a]
Former-commit-id: d608750b66faf4dae989f7576c268a3ad32854f4
2016-10-05 00:41:45 +02:00
Lynix
fc3fb062e0 Utility: Add Parameters and NoWindowSystem option
Temporary fix until Utility module has been split.


Former-commit-id: 702929f41c8f1dd4015b64e9b331c150ad6fd953 [formerly f113bd948da6a8c5399aab48f53b6cb5ca272081] [formerly 593365938d7e3a835b94727ec6dc744a7a113822 [formerly e43d02e4e221e5c1d85320d71d1a258db44768d1]]
Former-commit-id: 29e2dd7ff9ee608847e3f78a7474e3286343b152 [formerly cf10e1a9dd5ca6df0bdf39730e2b38e9ea0d673a]
Former-commit-id: a479d4eb078b30d6e7b34bd53dba6366fad643de
2016-10-05 00:26:06 +02:00
Lynix
7952c1531a Utility/X11: Fix compilation on Ubuntu 14.04
Former-commit-id: ec60ac14249ec8373b94adc151689bb296a32eb8 [formerly f133d000ffa0af394ff13f1cdb5c15998e168cb3] [formerly a273e695a23571703a86fb48baf2b3481a880e7f [formerly 16e55866c0bf4159de7ab70f01f10ee8cd85c460]]
Former-commit-id: 4119b010eb683593fc1a874a18cd43258a7bb686 [formerly 4f25a87bee75670940a2ad68b61a32342e3ddcf9]
Former-commit-id: f811f2c2dbe89bf4a9442b11a2c50b54719c85bd
2016-10-04 18:09:15 +02:00
Lynix
4dff4f724b Utility/X11: Fix xcb_renderutil.h compile error on olders systems (Travis CI for example)
Former-commit-id: d244d237356fa61293e8af28654a97df3f127de6 [formerly 348621c8a478a8b2f286b5fcb02b687e10216294] [formerly 25deef8c480e56fe2d2e0f1f8a22b942ace56ef6 [formerly e936f13a7c07985663fc0d35e4d0332a7aad6762]]
Former-commit-id: f419ba91ab932b4695632bf2bf6e13cb2d396ffb [formerly 4d66289f24743ce633846a33207a46be5b97f307]
Former-commit-id: 38f18e32f5e7154f8bbad8869559279ae268ddee
2016-10-04 15:42:42 +02:00
Lynix
7761b59dd9 Utility/OBJLoader: Check OBJ files before processing them
This removes a lot of errors from the logs in some cases


Former-commit-id: b540b8b8f942c0e8805e3b3e76295669f5e6764a [formerly c71ce0c21549178438ebcc3c85ca9e9074966410] [formerly 454c698bfa5432f19f238890d303f3641dca7056 [formerly 6e501a315a69b38c11440988bdc5d5f2e7158852]]
Former-commit-id: c5bfc674f09100d99a4c853a1dea96fd030fde49 [formerly 6f5190f8ed305b9726ef69d713a20e99d8c476a1]
Former-commit-id: a72b009cc519caf76784336b2df8db9d5b2d8628
2016-09-26 13:16:42 +02:00
Lynix
bf6425c35f Utility/OBJParser: Add Check() method to quickly check if any OBJ token is present at the beginning
Former-commit-id: 27f09e4351e6721eab338576075a161f62a4c262 [formerly d2cc64b6b6ec984210fd187adfc0797087ea3a0a] [formerly 58c7a39be0a0fdb8c89c516d5e8d19b18d34ba60 [formerly a9d80e257c27b60319e0d1b03b1534e133e1244e]]
Former-commit-id: 9ccaa30b87462af58390478d4d6b956d9b5faa5f [formerly 615171770a9a8c87b37b50940c7342bdeb6876a2]
Former-commit-id: c49b38dc42936ba3f696f9436fd9f6b5527244c0
2016-09-26 13:16:01 +02:00
Lynix
48eb9ee3b5 Utility/Window: Fix destructor inline
Former-commit-id: f55088c7edd5d14c4626a42fe11b7328fa3526b6 [formerly 6c5f0e4666989e8d57da06da103bc180ac1f0d8d] [formerly 2b8719258209c5c45d0b2d4257332b18f5594c3b [formerly fbc1e2f64d490e340d1b0054e7f9c2cacac18086]]
Former-commit-id: b8b5f64fb182f7b5e1f4a3d270590da1f35be0f1 [formerly ee4b8d9204690c2a33bb94047515e1e64e6fcef3]
Former-commit-id: 6413a1c4026dc7904026c259f7ead483342fcad2
2016-09-17 12:08:44 +02:00
Lynix
da7216a202 Utility/OBJSaver: Remove some warnings
Former-commit-id: 7762f44e85efd99346752899b43d757512eee8fc [formerly 6b86a269f98d9421b60263f2e8435cf14445e469] [formerly ecd111f0499e4659638c11071ae1f472303fa0d9 [formerly d272286ae403222512e8ca9178419094f7da4a0c]]
Former-commit-id: 4211533ae1db2ce95fda5721a0c1050afe3d67f9 [formerly 10f4944022e9fac77060407fd6f05ab40aa20e09]
Former-commit-id: 12747ce9a2c9c3fc2e2b02233d06e9370b18f790
2016-09-04 21:00:23 +02:00
Lynix
68d67cc9da Utility: First code cleaning pass
Former-commit-id: a73d38ce2db2e780ad5b02cdae1c590606081650 [formerly 3d21c0fa44481bf91418a15012fa187a210fc9ad] [formerly b80263df8e91b85f3fd091724c54dec7f05bc535 [formerly 7dcaabaabf74fbdf840289bfc435fdd8e88969d7]]
Former-commit-id: a669a933edd2364d9ee487c7d1bb38e28ad87a2d [formerly b8c5c09df10ce2f831635f460393216799d44056]
Former-commit-id: 6bbd5af22e30cc7fd4b4478162ae89e69b3d274e
2016-09-04 20:39:34 +02:00
Lynix
11f4464d90 SDK: Fix console layer having trouble with late constructed windows
Former-commit-id: 1af4cce1d920401963c3693661c19f0af5d23641 [formerly c5fb7cf9da6dd18a887b5d67fc2f43c135d5bee2] [formerly 9718a9b7c1bf161b46c085a82ab1bce46c045d6d [formerly cb26a07e6ce48b30727195e8f26e6fc6670ff86a]]
Former-commit-id: ccd4866237e7d9d6cd3a83ff6a030d8acd053010 [formerly 9745165a6b024df81317dc96126e8209bee4bd32]
Former-commit-id: 43b65ae9fb7793e9a9e79d1e8e9a718e4c3edce3
2016-08-29 02:33:57 +02:00