Commit Graph

50 Commits

Author SHA1 Message Date
Martín Lucas Golini
e26d9cceff Added support for non-colored emoji fonts. 2022-03-03 21:43:36 -03:00
Martín Lucas Golini
5a23e5faf9 Fixed Text::setFillColor with color emojis. 2022-03-01 15:25:51 -03:00
Martín Lucas Golini
5440a2ef77 Some minor fixes and improvements to FontTrueType. 2022-02-10 01:38:26 -03:00
Martín Lucas Golini
623490bc72 Emoji support improvements. 2022-02-09 02:51:33 -03:00
Martín Lucas Golini
7a221d19c1 First steps in supporting color fonts.
Some minor fixes to build with emscripten.
2022-02-08 03:06:35 -03:00
Martín Lucas Golini
ed289b5ec6 More improvements to the text document and code editor.
The current working directory is not forced anymore (except for Android), since it can cause some troubles in certain situations.
2020-05-27 05:28:35 -03:00
Martín Lucas Golini
a3afe7a8e2 Added em and rem units support.
Fixed a bug in tooltips.
2020-03-25 03:19:56 -03:00
Martín Lucas Golini
f60d4c183e clang-formated all project source files.
Improved documentation.

--HG--
branch : dev
2020-01-10 04:39:46 -03:00
Martín Lucas Golini
3a43043fe5 Initial support for non-cacheable CSS styles.
Some minor colors refactor.
Some minor bug fixes.

--HG--
branch : dev-css
2019-05-19 04:00:24 -03:00
Martín Lucas Golini
3c0e4d7ed5 Added Window::DisplayManager ( implementing DisplayManagerSDL2 and DisplayManagerSFML ).
Engine instance is now automatically started and destroyed.
Forced the default working directory as the process path directory at start.

--HG--
branch : dev-2.1
2018-01-27 03:55:39 -03:00
Martín Lucas Golini
85cb16a4ec Use Nearest filter by default in sprite fonts.
--HG--
branch : dev-2.1
2018-01-22 00:21:55 -03:00
Martín Lucas Golini
fba9460bfd Added FontSprite class for font sprite support ( XNA Font Sprites ).
--HG--
branch : dev-2.1
2018-01-22 00:17:48 -03:00
Martín Lucas Golini
04e4646130 TextureFactory::bind fixed.
Added BMFont support.

--HG--
branch : dev-2.1
2018-01-21 20:38:16 -03:00
Martín Lucas Golini
f907d89367 Fixed IniFile::getValueB.
Added FileSystem::changeWorkingDirectory( Sys::getProcessPath() ); in demos.

--HG--
branch : dev
2017-12-29 22:35:43 -03:00
Martín Lucas Golini
e8edff36d1 Fixed Interpolation1d::waitAndAdd.
Fixed a couple of warnings on VC++.

--HG--
branch : dev
2017-12-27 00:11:51 -03:00
Martín Lucas Golini
4e1f476ee1 Replaced default font.
Added beginPropertiesTransaction() and endPropertiesTransaction().
Added UILayout.
Added EventOnDragStart and EventOnDragStop.
Renamed MsgDragEnd to MsgDragStop.

--HG--
branch : dev
2017-10-16 01:33:34 -03:00
Martí­n Lucas Golini
6d14696337 Color now is RGB.
ColorA now is Color.

--HG--
branch : dev
2017-04-11 02:03:52 -03:00
Martí­n Lucas Golini
bb0a6cacda Refactored Font and Text classes.
--HG--
branch : dev
2017-03-24 04:49:14 -03:00
Martí­n Lucas Golini
b29b8bcd69 Added Text::setFillColor to substrings from the text string.
Renamed Text::setFlags and Text::getFlags to Text::setAlign and Text::getAlign.
A couple of random fixes.

--HG--
branch : dev
2017-03-24 02:10:39 -03:00
Martí­n Lucas Golini
734698c070 Minor change.
--HG--
branch : dev
2017-03-15 12:13:02 -03:00
Martí­n Lucas Golini
a341fe4652 Minor refactor.
--HG--
branch : dev-font
2017-03-13 12:08:02 -03:00
Martí­n Lucas Golini
30a2d9277a More changes.
--HG--
branch : dev-font
2017-03-13 01:10:10 -03:00
Martí­n Lucas Golini
43f9c600fc New Font class integrated to the old Font class.
--HG--
branch : dev-font
2017-03-12 23:42:26 -03:00
Martí­n Lucas Golini
786b8d67b3 WIP new font class.
--HG--
branch : dev-font
2017-03-12 21:02:10 -03:00
Martí­n Lucas Golini
e16989f293 Refactoring Font and TextCache class.
--HG--
branch : dev-font
2017-03-11 21:55:42 -03:00
Martí­n Lucas Golini
63ceea60d8 Demo fixes.
--HG--
branch : dev
2017-02-18 16:53:08 -03:00
Martí­n Lucas Golini
8317780a73 More refactoring of the Graphic module.
--HG--
branch : dev
2017-02-18 03:03:01 -03:00
Martín Lucas Golini
ba3781229d Graphic module improvements.
--HG--
branch : dev
2017-02-17 23:22:49 -03:00
Martín Lucas Golini
ca90d606f3 Windows module improved.
--HG--
branch : dev
2017-02-17 17:47:41 -03:00
Martí­n Lucas Golini
4ec135cedb Graphics module refactored.
SFML backend refactored.

--HG--
branch : dev
2017-02-16 03:31:08 -03:00
Martí­n Lucas Golini
4eefeb4cd3 Window module refactored.
--HG--
branch : dev
2017-02-15 01:31:37 -03:00
Martín Lucas Golini
b36dd33246 Refactoring WIP.
Changing the function naming convention from CamelCase to camelCase.

--HG--
branch : dev
2017-02-14 18:09:25 -03:00
Martín Lucas Golini
0c7385a3c8 Graphics module refactored. 2014-06-22 20:29:23 -03:00
Martín Lucas Golini
9406e81b2c Renamed cWindow to Window in EE::Window... Window, Window Window.
I don't like it but i don't other option.
2014-06-16 00:11:32 -03:00
Martín Lucas Golini
4b31bb9fbc Working on the Window refactoring. 2014-06-14 18:50:04 -03:00
Martín Lucas Golini
98df342f8b Math Module refactored. 2014-06-14 17:39:35 -03:00
Martín Lucas Golini
c865d2c09f Refactored Colors.
Removed PBuffer support.
Abstracted WMInfo.
2014-06-14 05:51:39 -03:00
Martín Lucas Golini
f9455c7556 Starting the redesign of eepp. This is the beggining of eepp 2, that basically
means a huge code refactoring, i'll remove eepp ugly conventions ( classes names
starting with c, static things with s, etc ).
First Changes:
No more eeFloat, eeDouble, eeUint, eeInt:
eeDouble isn't needed, so we use double.
eeFloat is ugly, i prefer Float.
eeUint is just unsigned int, and eeInt just... int!
No more sophist.h
Started hiding OpenGL, cGL now use standard types ( soon will be renamed ).
Added glextensions, glew isn't visible for the end user anymore.
( i'm looking for alternatives here, i'm not happy with GLEW ).
2014-06-14 02:43:42 -03:00
Martín Lucas Golini
8bb008b79e Cleaning code. 2014-06-08 16:56:16 -03:00
Martín Lucas Golini
0d0e582a78 Scaling elements now is done per axis. 2013-11-17 12:22:43 -03:00
Martín Lucas Golini
2e016791da Made all the examples Emscripten friendly.
cWindow::Display( bool clear = false ) now doesn't Clear by default.
Fixed a bug in cSprite::GetAABB().
2013-11-14 02:30:46 -03:00
Martín Lucas Golini
cff7eb600f Added support for AsyncRequests in cHttp.
Added cThreadLocal and tThreadLocalPtr ( needed for the async requests ).
2013-09-30 02:04:06 -03:00
Martín Lucas Golini
f09797c91c String::ToWideString wasn't returning a wide string...!
Enabled wide strings for Android ( i'll never target Android < 2.3 ).
EE_MAIN_FUNC is back, it was needed for the Android build ( i forgot about it ).
2013-08-29 02:01:59 -03:00
Martín Lucas Golini
3da6497420 Replaced EE_DYNAMIC for EE_STATIC, so now you need to specify that you are using
eepp as a static library, since the majority of the people will use the dynamic
it seems logic to use dynamic by default.
Removed all the EE_MAIN_FUNC and "main" func hacks, except the android and ios
ones that can't be removed ( i probably broke something here, it's a WIP.
Fixed Android compilation.
Added eepp-main.
2013-08-24 19:43:22 -03:00
Martín Lucas Golini
99e1657ea3 Changed cTTFFont::OutlineMethod to cTTFont::OutlineMethods.
Changed cTTFFont::DefaultOutlineMethod to cTTFFont::OutlineMethod.
2013-08-21 15:58:00 -03:00
Martín Lucas Golini
8b6e34cb1f Added cImage::ChannelsToPixelFormat.
Fixed cTexture::Update ( it wasn't taking care of the pixel format ).
Fixed cTTFFont memory leak ( it wasn't assigning the correct image size ).
Untracked some new and delete operations that doesn't need to be tracked.
2013-08-20 16:47:27 -03:00
Martín Lucas Golini
b97865bad2 Added a new outlining method for the font glyphs. 2013-08-19 03:42:54 -03:00
Martín Lucas Golini
aa81174c77 Added cImage::Blit.
Fixed some minor bug in HaikuTTF.
2013-08-19 03:03:47 -03:00
Martín Lucas Golini
fa62113ad7 Added cShapePoint for Physics ( usefull to draw boxes or rounded points faster ).
Working on the Physics example.
Updated fonts example.
2013-06-20 23:56:54 -03:00
Martín Lucas Golini
7a0d04a0e9 Added fonts example.
Removed the allocation size parameter from the ColorPointer, VertexPointer and TexCoordPointer functions.
And some minor changes.
2013-06-02 02:23:38 -03:00