![]() |
2008-03-17
, 10:31
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#32
|
![]() |
2008-03-17
, 16:04
|
Posts: 330 |
Thanked: 57 times |
Joined on May 2007
@ BKNYC
|
#33
|
![]() |
2008-03-17
, 23:20
|
Posts: 551 |
Thanked: 46 times |
Joined on Oct 2007
|
#34
|
![]() |
2008-03-17
, 23:35
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#35
|
![]() |
2008-03-18
, 04:49
|
Posts: 330 |
Thanked: 57 times |
Joined on May 2007
@ BKNYC
|
#36
|
![]() |
2008-03-18
, 06:18
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#37
|
--- dxxorig/mtpaint-3.20.orig/src/mainwindow.c +++ mtpaint-3.20/src/mainwindow.c @@ -114,6 +114,8 @@ int files_passed, file_arg_start, drag_index_vals[2], cursor_corner; char **global_argv; +int fullscreen; + GdkGC *dash_gc; @@ -816,10 +818,13 @@ static key_action main_keys[] = { {"QUIT", ACT_QUIT, GDK_q, 0, 0}, + {"TO_FULLSCR", ACT_FULLSCR, GDK_F6, _CS, 0}, {"ZOOM_IN", ACT_ZOOM_IN, GDK_plus, _CS, 0}, {"", ACT_ZOOM_IN, GDK_KP_Add, _CS, 0}, + {"", ACT_ZOOM_IN, GDK_F7, _CS, 0}, {"ZOOM_OUT", ACT_ZOOM_OUT, GDK_minus, _CS, 0}, {"", ACT_ZOOM_OUT, GDK_KP_Subtract, _CS, 0}, + {"", ACT_ZOOM_OUT, GDK_F8, _CS, 0}, {"ZOOM_01", ACT_ZOOM_01, GDK_KP_1, _CS, 0}, {"", ACT_ZOOM_01, GDK_1, _CS, 0}, {"ZOOM_025", ACT_ZOOM_025, GDK_KP_2, _CS, 0}, @@ -931,8 +936,10 @@ {"", ACT_TO_MASK, GDK_4, _CS, _S}, {"VWZOOM_IN", ACT_VWZOOM_IN, GDK_plus, _CS, _S}, {"", ACT_VWZOOM_IN, GDK_KP_Add, _CS, _S}, + {"", ACT_VWZOOM_IN, GDK_F7, _CS, _S}, {"VWZOOM_OUT", ACT_VWZOOM_OUT, GDK_minus, _CS, _S}, {"", ACT_VWZOOM_OUT, GDK_KP_Subtract, _CS, _S}, + {"", ACT_VWZOOM_OUT, GDK_F8, _CS, _S}, {NULL, 0, 0, 0, 0} }; @@ -1010,6 +1017,15 @@ switch (action) { + case ACT_FULLSCR: + if (fullscreen == TRUE) { + gtk_window_unfullscreen(GTK_WINDOW(main_window)); + fullscreen = FALSE; + } else { + gtk_window_fullscreen(GTK_WINDOW(main_window)); + fullscreen = TRUE; + } + return (TRUE); case ACT_SEL_LEFT: change = 1; case ACT_SEL_2LEFT: move_mouse(-change, 0, 0); @@ -3917,6 +3933,11 @@ /// MAIN WINDOW main_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + + fullscreen = TRUE; + + gtk_window_fullscreen(GTK_WINDOW(main_window)); + gtk_widget_set_usize(main_window, 100, 100); // Set minimum width/height win_restore_pos(main_window, "window", 0, 0, 630, 400); gtk_window_set_title (GTK_WINDOW (main_window), VERSION );
--- dxxorig/mtpaint-3.20.orig/src/mainwindow.h +++ mtpaint-3.20/src/mainwindow.h @@ -87,6 +87,7 @@ #define ACT_TO_MASK 65 #define ACT_VWZOOM_IN 66 #define ACT_VWZOOM_OUT 67 +#define ACT_FULLSCR 68 int wtf_pressed(GdkEventKey *event);
![]() |
2008-03-18
, 06:25
|
Posts: 330 |
Thanked: 57 times |
Joined on May 2007
@ BKNYC
|
#38
|
![]() |
2008-03-18
, 06:37
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#39
|
Fullscreen was a great help....much bigger screen to draw on now.
1 suggestion, map the directional keys to removing the toolbars.
such as the
Show Main Toolbar = up
show tools toolbar = down
show settings toolbar = left
show palette = right
>>>>>> Toggle image view = ??? [especially needed, when removed, restarting the device is the only way to bring it back on the n800.] <<<<