Commit Graph

101 Commits

Author SHA1 Message Date
Michael Drake
15d95ddcf8 Ensure bitmap width/height are initialised. 2014-05-20 22:40:46 +01:00
Michael Drake
47337932c0 Various fixes informed by cppcheck.
Removal of unused variables and dead assignements.
2014-05-20 20:40:42 +01:00
Michael Drake
768f380d81 Fix rgb check.
It was doing the same check on green twice, and not checking blue.
2014-05-20 20:24:19 +01:00
Michael Drake
59f63984ee Remove unused variables. 2014-05-20 20:20:58 +01:00
Michael Drake
a8e79b4d39 Remove redundant NULL check. 2014-05-20 20:17:48 +01:00
Michael Drake
687e97abd2 Fix line endings. 2014-05-20 20:17:00 +01:00
Vincent Sanders
b9ded6c735 make atari font plotting include css header explicitly 2014-05-18 23:25:09 +01:00
Vincent Sanders
886a3106db move utf8 local conversion operations to table 2014-02-01 22:17:36 +00:00
Vincent Sanders
654da2ffb5 move utf8 conversion routines to use nserror instead of their own error enum 2014-01-28 21:40:13 +00:00
Ole Loots
0f5cc9f03a Added prototype for plot_get_abs_clipping_grect 2014-01-02 17:49:08 +01:00
Ole Loots
eaff41259b Added plot_set_abs_clipping API to define maximum allowed clipping extent.
subsequent call's to plot_clip obey to the maximum clipping rect.
2013-12-28 01:20:20 +01:00
Ole Loots
4abe5273c9 Added comments to plot API 2013-12-21 02:00:39 +01:00
Ole Loots
571b8e0167 plot_set_scale return old scale now. 2013-12-13 01:25:28 +01:00
Ole Loots
a2688fc7a2 Recognize scale when plotting fonts 2013-12-04 02:00:45 +01:00
Ole Loots
66af93863d Removed debug print 2013-12-04 01:44:26 +01:00
Ole Loots
c4ecef90d1 Recognize scale when plotting bitmaps 2013-12-04 01:40:10 +01:00
Ole Loots
8a56be414f fix previous prototype 2013-12-04 00:53:20 +01:00
Ole Loots
a2ec08be80 Added plot_set_scale / plot_get_scale prototypes 2013-12-04 00:51:38 +01:00
Ole Loots
d53cbcbcb2 Added "scale" member and get / set methods 2013-12-04 00:41:17 +01:00
Ole Loots
1d535a9a43 Treeview implementation adjusted
(still requires changes at several places in the atari frontent)
2013-10-06 01:24:16 +02:00
Ole Loots
8057dc67cb Replaced atari_treeview wrapper with a new one
(removed all modules which used the old tree API)
2013-10-06 01:24:16 +02:00
Ole Loots
258477ad28 moved font plotter allocation
Delayed font plotter alloction until the requested
font plotter is found.
2013-10-06 01:24:14 +02:00
Ole Loots
2c0bcc39bd Added plot_get/set_text_plotter and comments 2013-10-06 01:24:14 +02:00
Vincent Sanders
b918f63f3e fixup atari option names 2013-05-28 17:00:55 +01:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Ole Loots
c9fd3a4f13 Removed debug output 2013-04-12 01:05:37 +02:00
Ole Loots
916ca92bfc Improved favicon/iconyfied redraw (obey to visible rectangle list) 2013-04-12 01:04:21 +02:00
Michael Drake
6bab556827 Make comaptible with new nsfont_split expectation. Untested, but code is same as framebuffer front end, so should work. 2013-02-10 18:28:59 +00:00
Ole Loots
54f719aa96 Some more finetuning... 2013-01-31 19:22:35 +01:00
Ole Loots
4f0ae4e128 Search form inside browser windows starts to work. 2013-01-16 03:21:35 +01:00
Ole Loots
0bbccaa935 Finally it compiles without WinDom - still some things to bring back:
- Serch window
 - Pop Menus in the settings dialog
2013-01-07 20:04:44 +01:00
Ole Loots
5acf36b89e Clip only once, not on every drawing primitive... 2013-01-06 23:05:04 +01:00
Ole Loots
ec0c68503d Added function to retrieve current plotter dimensions. 2012-12-07 22:09:59 +01:00
Ole Loots
f4ea103657 Reenabled VDI clipping... 2012-12-04 01:33:37 +01:00
Ole Loots
ccdab30c9a Completet scroll preprocessing, Hotlist fully works. 2012-11-22 00:10:55 +01:00
Ole Loots
5242cd00a4 Fixed syntax error caused by search&replace? 2012-11-07 23:35:43 +01:00
Ole Loots
b806c94c1d Fix warnings, moved prototypes, housekeeping 2012-08-27 20:14:27 +02:00
Ole Loots
bae65c18a9 Default truetype package is now Bitstream Vera.
Truetype font package can now be switched by defines.
2012-08-25 13:52:30 +02:00
Ole Loots
10e5597a94 Removed junk 2012-08-25 05:47:23 +02:00
Ole Loots
2988193e44 Documented font loading / font names. 2012-08-25 05:44:44 +02:00
Ole Loots
c5a84e17f7 Merged some features from framebuffer freetype impl.
- Set default font for font faces which failed to
   load.
 - Lookup more font faces (Cursive, Fantasy).
2012-08-25 05:23:10 +02:00
Ole Loots
ff2f1f1836 Added missing copyright headers 2012-08-24 00:47:37 +02:00
Ole Loots
e454cf3f9c Fix provided by Michale Drake.
Fix freetype nsfont_position_in_string to return nearest, rather than
next.
2012-08-04 02:51:46 +02:00
Ole Loots
e1a9a98e05 Fixed colour type for vs* functions, added comments. 2012-07-25 13:58:38 +02:00
Ole Loots
4ade97334a Changed toolbar_bg_color to type "colour",
Now the toolbar background can be configured
as RGB colour.
2012-07-23 14:48:50 +02:00
Ole Loots
957f9dc7c8 renamed plot functions (use plot_ prefix) 2012-07-23 02:34:21 +02:00
Ole Loots
eb2ec532e8 renmaed plot functions (use plot_ prefix). 2012-07-23 02:30:11 +02:00
Ole Loots
2158ed7bce moved "bitmap_resize()" to bitmap.c 2012-07-23 02:03:09 +02:00
Ole Loots
72a9071cb2 Inline some functions 2012-07-23 00:21:28 +02:00
Ole Loots
f2aa118025 Refactor plot implementation (removed old files) 2012-07-13 22:21:06 +02:00