[DEVELOPMENT ENVIRONMENT]
* NEW: More dark theme icons. * NEW: Fabien's version of the new logo. * BUG: Image editor: Pasted images are not one pixel too big anymore. [GB.DBUS.TRAYICON] * BUG: Toggle menus triggered from the trayicon menu correctly raise the Click event [GB.FORM] * NEW: TabPanel: Clicking with the middle mouse button on a tab button now closes it. git-svn-id: svn://localhost/gambas/trunk@7317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
|
@ -272,7 +272,7 @@
|
|||
}
|
||||
}
|
||||
{ btnClose ToolButton
|
||||
MoveScaled(1,1,4,4)
|
||||
MoveScaled(0,0,4,4)
|
||||
Background = Color.Background
|
||||
Ignore = True
|
||||
Picture = Picture["icon:/small/close"]
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
{ mnuWatch Menu
|
||||
Action = ".watch"
|
||||
Text = Shortcut(("Watch expression"), "W")
|
||||
Picture = Picture["icon:/small/watch"]
|
||||
Picture = Picture["img/16/watch.png"]
|
||||
}
|
||||
{ mnuSepBookmark Menu
|
||||
}
|
||||
|
|
|
@ -1696,7 +1696,7 @@ Public Sub imvImage_Draw(hZoom As Image)
|
|||
|
||||
With $hPasteSelect.GetExtents()
|
||||
If .Width > 0 And If .Height > 0 Then
|
||||
hImage = New Image(Ceil(.Width) + 1, Ceil(.Height) + 1, Color.Transparent)
|
||||
hImage = New Image(Ceil(.Width), Ceil(.Height), Color.Transparent)
|
||||
|
||||
Paint.Begin(hImage)
|
||||
Paint.Brush = Paint.Image($hPaste)
|
||||
|
|
|
@ -446,9 +446,15 @@
|
|||
Picture = Picture["img/draw/magic.png"]
|
||||
Toggle = True
|
||||
}
|
||||
{ btnHide ToolButton
|
||||
MoveScaled(102,0,4,4)
|
||||
ToolTip = ("Hide selection")
|
||||
Action = ".hide"
|
||||
Picture = Picture["img/draw/hide.png"]
|
||||
}
|
||||
{ btnEditSelection ToolButton btnTool
|
||||
Name = "btnEditSelection"
|
||||
MoveScaled(103,0,4,4)
|
||||
MoveScaled(106,0,4,4)
|
||||
Tag = "change"
|
||||
ToolTip = ("Edit selection")
|
||||
Action = ".tool-change"
|
||||
|
@ -456,13 +462,7 @@
|
|||
Toggle = True
|
||||
}
|
||||
{ Separator8 Separator
|
||||
MoveScaled(107,0,1,4)
|
||||
}
|
||||
{ btnHide ToolButton
|
||||
MoveScaled(108,0,4,4)
|
||||
ToolTip = ("Hide selection")
|
||||
Action = ".hide"
|
||||
Picture = Picture["img/draw/hide.png"]
|
||||
MoveScaled(110,0,1,4)
|
||||
}
|
||||
{ btnInvert ToolButton
|
||||
MoveScaled(111,0,4,4)
|
||||
|
@ -741,7 +741,7 @@
|
|||
{ Toolbars
|
||||
{ Toolbar image
|
||||
Text = "Image editor"
|
||||
List = "save,reload,locked,undo,redo,zoom-in,zoom,zoom-out,zoom-normal,zoom-fit,grid,resize,rotate,copy,cut,tool-paste,tool-move,tool-draw,tool-erase,tool-line,tool-rectangle,tool-ellipse,tool-text,tool-magic,tool-change,hide,invert,duplicate,offset,crop,flip-h,flip-v,rotate-r,rotate-l"
|
||||
Default = "save,reload,locked,undo,redo,|,zoom-in,zoom,zoom-out,zoom-normal,zoom-fit,grid,|,copy,cut,tool-paste,|,tool-move,tool-draw,tool-erase,tool-line,tool-rectangle,tool-ellipse,tool-text,tool-magic,tool-change,|,hide,invert,duplicate,offset,|,crop,flip-h,flip-v,rotate-r,rotate-l"
|
||||
List = "save,reload,locked,undo,redo,zoom-in,zoom,zoom-out,zoom-normal,zoom-fit,grid,resize,rotate,copy,cut,tool-paste,tool-move,tool-draw,tool-erase,tool-line,tool-rectangle,tool-ellipse,tool-text,tool-magic,hide,tool-change,invert,duplicate,offset,crop,flip-h,flip-v,rotate-r,rotate-l"
|
||||
Default = "save,reload,locked,undo,redo,|,zoom-in,zoom,zoom-out,zoom-normal,zoom-fit,grid,|,copy,cut,tool-paste,|,tool-move,tool-draw,tool-erase,tool-line,tool-rectangle,tool-ellipse,tool-text,tool-magic,hide,tool-change,|,invert,duplicate,offset,|,crop,flip-h,flip-v,rotate-r,rotate-l"
|
||||
}
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 375 B After Width: | Height: | Size: 406 B |
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 361 B |
BIN
app/src/gambas3/img/16/breakpoint-dark.png
Normal file
After Width: | Height: | Size: 361 B |
Before Width: | Height: | Size: 492 B After Width: | Height: | Size: 372 B |
BIN
app/src/gambas3/img/16/console-dark.png
Normal file
After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 179 B After Width: | Height: | Size: 156 B |
BIN
app/src/gambas3/img/16/current-dark.png
Normal file
After Width: | Height: | Size: 430 B |
Before Width: | Height: | Size: 566 B After Width: | Height: | Size: 424 B |
BIN
app/src/gambas3/img/16/delete-container-dark.png
Normal file
After Width: | Height: | Size: 163 B |
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 158 B |
BIN
app/src/gambas3/img/16/embed-container-dark.png
Normal file
After Width: | Height: | Size: 162 B |
Before Width: | Height: | Size: 156 B After Width: | Height: | Size: 153 B |
BIN
app/src/gambas3/img/16/eol-dark.png
Normal file
After Width: | Height: | Size: 154 B |
Before Width: | Height: | Size: 141 B After Width: | Height: | Size: 151 B |
BIN
app/src/gambas3/img/16/local-dark.png
Normal file
After Width: | Height: | Size: 473 B |
Before Width: | Height: | Size: 539 B After Width: | Height: | Size: 448 B |
Before Width: | Height: | Size: 584 B After Width: | Height: | Size: 495 B |
Before Width: | Height: | Size: 591 B After Width: | Height: | Size: 453 B |
BIN
app/src/gambas3/img/16/startup-class-dark.png
Normal file
After Width: | Height: | Size: 352 B |
Before Width: | Height: | Size: 573 B After Width: | Height: | Size: 326 B |
BIN
app/src/gambas3/img/16/task-dark.png
Normal file
After Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 196 B After Width: | Height: | Size: 197 B |
BIN
app/src/gambas3/img/16/warning-dark.png
Normal file
After Width: | Height: | Size: 132 B |
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 132 B |
BIN
app/src/gambas3/img/16/watch-dark.png
Normal file
After Width: | Height: | Size: 352 B |
Before Width: | Height: | Size: 554 B After Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 156 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 208 B |
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
@ -8,6 +8,7 @@ Component=gb.image
|
|||
Component=gb.gui
|
||||
Component=gb.form
|
||||
Component=gb.dbus
|
||||
Environment="GB_GUI=gb.qt4"
|
||||
TabSize=2
|
||||
Language=fr
|
||||
Type=Component
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
Public Sub TrayIcon1_Click()
|
||||
|
||||
Debug
|
||||
Me.Visible = Not Me.Visible
|
||||
|
||||
End
|
||||
|
||||
|
@ -54,3 +55,27 @@ Public Sub TrayIcon1_MiddleClick()
|
|||
Debug
|
||||
|
||||
End
|
||||
|
||||
Public Sub Menu6_Click()
|
||||
|
||||
Debug
|
||||
|
||||
End
|
||||
|
||||
Public Sub Menu7_Click()
|
||||
|
||||
Debug
|
||||
|
||||
End
|
||||
|
||||
Public Sub Menu8_Click()
|
||||
|
||||
Debug
|
||||
|
||||
End
|
||||
|
||||
Public Sub Button3_Click()
|
||||
|
||||
Menu5.Value = Not Menu5.Value
|
||||
|
||||
End
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
{ Form Form
|
||||
MoveScaled(0,0,64,64)
|
||||
Persistent = True
|
||||
{ Menu1 Menu
|
||||
Text = ("Menu1")
|
||||
{ Menu2 Menu
|
||||
|
@ -58,4 +59,8 @@
|
|||
MoveScaled(23,4,16,4)
|
||||
Text = ("Picture")
|
||||
}
|
||||
{ Button3 Button
|
||||
MoveScaled(32,12,16,4)
|
||||
Text = ("Menu5")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -275,6 +275,7 @@ Public Sub _Clicked(hMenu As Menu)
|
|||
|
||||
If hMenu.Toggle Then
|
||||
hMenu.Value = Not hMenu.Value
|
||||
Object.Raise(hMenu, "Click")
|
||||
UpdateMenu
|
||||
Else
|
||||
hMenu.Value = True
|
||||
|
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.8 KiB |
|
@ -292,6 +292,11 @@ Public Sub DrawingArea_MouseDown()
|
|||
'Me.Parent.SetFocus()
|
||||
hTabPanel.Index = GetIndex()
|
||||
Endif
|
||||
Else If Mouse.Middle Then
|
||||
If IsClosable() Then
|
||||
hTabPanel = GetParent()
|
||||
hTabPanel._Close(GetIndex())
|
||||
Endif
|
||||
Endif
|
||||
|
||||
End
|
||||
|
|